public class AppCtx extends HyperonContext
| Constructor and Description |
|---|
AppCtx(Object... args) |
AppCtx(Property property) |
AppCtx(Property property,
boolean checkAdapter) |
| Modifier and Type | Method and Description |
|---|---|
Object |
get(String path) |
static PropertyAdapterResolver |
getAdapterResolver() |
AppCtx |
getAppCtx(String path) |
Iterable<AppCtx> |
getCollection(String path) |
HyperonContext |
getContext(String path) |
Object |
handle(Object obj) |
static Object |
handle(Object obj,
AppCtx parent) |
AppCtx |
of(Property p) |
static AppCtx |
of(Property p,
AppCtx parent) |
static void |
registerAdapter(String type,
PropertyAdapterFactory factory) |
static void |
setAdapterResolver(PropertyAdapterResolver adapterResolver) |
AppCtx |
sub(String path) |
String |
toString() |
static void |
unregisterAdapters() |
AppCtx |
with(String key,
Property prop) |
getBoolean, getBooleanHolder, getBooleanType, getDate, getDateHolder, getDatetime, getDatetimeHolder, getDatetimeType, getDateType, getDecimal, getFirst, getInteger, getIntegerHolder, getIntegerType, getLocalDate, getLocalDateHolder, getLocalDatetime, getLocalDatetimeHolder, getLocalDateTimeType, getLocalDateType, getNumber, getNumberHolder, getNumberType, getString, getStringHolder, getStringType, initialize, setget, get, getLevelValues, set, setLevelValues, with, with, withLevelValues, withLevelValuespublic AppCtx(Property property)
public AppCtx(Property property, boolean checkAdapter)
public AppCtx(Object... args)
public Object get(String path)
get in class HyperonContextpublic HyperonContext getContext(String path)
public static PropertyAdapterResolver getAdapterResolver()
public static void setAdapterResolver(PropertyAdapterResolver adapterResolver)
public static void registerAdapter(String type, PropertyAdapterFactory factory)
public static void unregisterAdapters()
public String toString()
toString in class HyperonContextCopyright © 2021. All rights reserved.