org.skunk.config
Class LocalConfigStore

java.lang.Object
  |
  +--org.skunk.config.InMemoryConfigStore
        |
        +--org.skunk.config.LocalConfigStore
All Implemented Interfaces:
ConfigStore

public class LocalConfigStore
extends InMemoryConfigStore

a simple implementation of ConfigStore that stores config data in a serialized object in the filesystem. this imposes the restriction, naturally, that properties be serializable.


Constructor Summary
LocalConfigStore(java.lang.String filename)
           
 
Method Summary
 void setConfigValue(java.lang.Class configClass, java.lang.String propertyName, java.lang.Object configValue)
           
 
Methods inherited from class org.skunk.config.InMemoryConfigStore
getConfigMap, getConfigValue, isRegistered, registeredClasses, setConfigMap, unregister
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalConfigStore

public LocalConfigStore(java.lang.String filename)
Method Detail

setConfigValue

public void setConfigValue(java.lang.Class configClass,
                           java.lang.String propertyName,
                           java.lang.Object configValue)
Overrides:
setConfigValue in class InMemoryConfigStore