org.jdiagnose.config
Class DefaultConfig
java.lang.Object
org.jdiagnose.config.DefaultConfig
- All Implemented Interfaces:
- Config
- public class DefaultConfig
- extends java.lang.Object
- implements Config
- Author:
- jmccrindle
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultConfig
public DefaultConfig(ConfigDataService dataService,
java.util.Map defaultValues)
get
public java.lang.Object get(java.lang.String key)
- Specified by:
get
in interface Config
put
public void put(java.lang.String key,
java.lang.Object newValue)
throws ConfigException
- Specified by:
put
in interface Config
- Throws:
ConfigException
getDefaultValue
public java.lang.Object getDefaultValue(java.lang.String key)
- Specified by:
getDefaultValue
in interface Config
setDefaultValues
public void setDefaultValues(java.util.Map defaultValues)
setDataService
public void setDataService(ConfigDataService dataService)
setListeners
public void setListeners(java.util.List listeners)
Copyright © 2004-2005 Grape Design Limited. All Rights Reserved.