org.skunk.config
Class InMemoryConfigStore
java.lang.Object
|
+--org.skunk.config.InMemoryConfigStore
- All Implemented Interfaces:
- ConfigStore
- Direct Known Subclasses:
- LocalConfigStore
- public class InMemoryConfigStore
- extends java.lang.Object
- implements ConfigStore
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InMemoryConfigStore
public InMemoryConfigStore()
getConfigMap
protected java.util.HashMap getConfigMap()
setConfigMap
protected void setConfigMap(java.util.HashMap configMap)
getConfigValue
public java.lang.Object getConfigValue(java.lang.Class configClass,
java.lang.String configProperty)
- Specified by:
getConfigValue
in interface ConfigStore
registeredClasses
public java.util.Iterator registeredClasses()
- Specified by:
registeredClasses
in interface ConfigStore
isRegistered
public boolean isRegistered(java.lang.Class configClass)
- Specified by:
isRegistered
in interface ConfigStore
unregister
public void unregister(java.lang.Class configClass)
- Specified by:
unregister
in interface ConfigStore
setConfigValue
public void setConfigValue(java.lang.Class configClass,
java.lang.String configProperty,
java.lang.Object configValue)
- Specified by:
setConfigValue
in interface ConfigStore