public class ConfigDiscovery extends Object
Modifier and Type | Field and Description |
---|---|
static String |
NODE_CONVERTER |
static String |
NODE_EXTRA_INITIALIZER |
static String |
NODE_IMPORT |
static String |
NODE_MAIN |
static String |
NODE_PROPERTY |
static String |
NODE_PROPERTY_ACCESS_CACHE |
static String |
NODE_PROPERTY_COMPILER |
static String |
NODE_SECURITY_MANAGER |
Modifier | Constructor and Description |
---|---|
protected |
ConfigDiscovery() |
Modifier and Type | Method and Description |
---|---|
protected void |
discoverConfig(MessageCode onUnexpectedError) |
protected String |
getFileName() |
static IPropertyAccessCache |
getPropertyAccessCache() |
static IPropertyCompiler |
getPropertyCompiler() |
static void |
load()
Invoking this method will force initialization of this class if not already done, so that all config will be discovered.
|
protected void |
registerDiscoveredNodes(Map<String,ArrayList<Node>> discoveredNodes)
Registers discovered nodes and cleans Map from what's already registered.
|
static void |
registerPropertyAccessCache(IPropertyAccessCache pac)
Register global property access cache utility.
|
static void |
registerPropertyCompiler(IPropertyCompiler pc)
Register global property compiler utility.
|
static void |
reload()
Invoking this method will force all config to be re-discovered.
|
public static final String NODE_MAIN
public static final String NODE_IMPORT
public static final String NODE_SECURITY_MANAGER
public static final String NODE_PROPERTY_COMPILER
public static final String NODE_PROPERTY_ACCESS_CACHE
public static final String NODE_CONVERTER
public static final String NODE_PROPERTY
public static final String NODE_EXTRA_INITIALIZER
public static void load()
public static void reload()
public static IPropertyCompiler getPropertyCompiler()
public static IPropertyAccessCache getPropertyAccessCache()
protected String getFileName()
protected final void discoverConfig(MessageCode onUnexpectedError) throws UtilsException
UtilsException
protected void registerDiscoveredNodes(Map<String,ArrayList<Node>> discoveredNodes) throws UtilsException
UtilsException
public static void registerPropertyCompiler(IPropertyCompiler pc)
public static void registerPropertyAccessCache(IPropertyAccessCache pac)