|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ConfigurationManagement
Configuration Management provides a convinient way to manage configuration for your programs. Alows to load and reload configurations, add configuration, list all the configurations and returns configuration manager interface. Configuration manager interface returns configuration based on the key.
Method Summary | |
---|---|
void |
addConfigurationManagmentEntry(ConfigurationManagementEntry entry)
Adds a configuration management entry . |
ConfigurationManager |
getConfigurationManager()
Returns configuration manager created by the configuration management engine. |
java.util.List<ConfigurationManagementEntry> |
getConfigurationManagmentEntries()
Returns a list of configuration management entries managed by this configuration managment engine. |
ConfigurationManagementEntry |
getConfigurationManagmentEntry(java.lang.String key)
Returns configuration management entry based on the key passed. |
boolean |
isInitialized()
Returns true if configuration Management has loaded configurations. |
void |
reload()
Reloades configurations stored in the configuration management engine. |
Method Detail |
---|
ConfigurationManager getConfigurationManager()
void reload() throws ConfigurationManagerException
ConfigurationManagerException
- if a problem occurs while reading or parsing the configurations.ConfigurationManagementEntry getConfigurationManagmentEntry(java.lang.String key) throws ConfigurationManagerException
configuration management entry
based on the key passed.
key
- key the entry is stored under
ConfigurationManagerException
- if the entry is not found.void addConfigurationManagmentEntry(ConfigurationManagementEntry entry) throws EntryInErrorException
configuration management entry
. Entries added this way will be lost when
the reload fucntionality is invoked.
entry
- configuration managemet entry
EntryInErrorException
- if the entry is not configured properly, for example if the key is not supplied.java.util.List<ConfigurationManagementEntry> getConfigurationManagmentEntries()
configuration management entries
managed by this configuration managment engine.
configuration management entries
managed by this configuration managment engine.boolean isInitialized()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |