|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.naftulin.configmgr.ConfigurationManagerFactory
public class ConfigurationManagerFactory
A factory that creates and maintains configuration management engine and configuration manager.
Method Summary | |
---|---|
static ConfigurationManagement |
getConfigurationManagement()
Returns configuration management engine object. |
static ConfigurationManager |
getConfigurationManager()
Returns configuration manager. |
static boolean |
isIniialized()
|
static void |
setConfigurationFile(java.lang.String configFile)
Sets a file from which master configuration would be read. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static boolean isIniialized()
public static void setConfigurationFile(java.lang.String configFile) throws ConfigurationManagerException
configFile
- the configuration file for master record.
ConfigurationManagerException
- if a configuration management engine is already initiazed.public static ConfigurationManagement getConfigurationManagement() throws ConfigurationManagerException
ConfigurationManagerException
- if an error occured while creating a configuration
managment object.public static ConfigurationManager getConfigurationManager() throws ConfigurationManagerException
ConfigurationManagerException
- if an error occurs while creating a configuration
manager.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |