com.germinus.easyconf
Class ConfigurationObjectCache
java.lang.Object
com.germinus.easyconf.ConfigurationObjectCache
public class ConfigurationObjectCache
- extends java.lang.Object
Holds a configuration object and reloads it when necessary
- Version:
- $Revision: 1.4 $
- Author:
- Jorge Ferrer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
configurationObject
java.lang.Object configurationObject
reloadingStrategy
ReloadingStrategy reloadingStrategy
reloadLock
java.lang.Object reloadLock
loader
ConfigurationLoader loader
log
private static final Log log
confFileUrl
private java.net.URL confFileUrl
properties
private ComponentProperties properties
confName
private java.lang.String confName
ConfigurationObjectCache
public ConfigurationObjectCache(java.lang.Object confObj,
java.net.URL confFileUrl,
ComponentProperties properties,
java.lang.String confName)
getConfigurationObject
public java.lang.Object getConfigurationObject()
getConfName
public java.lang.String getConfName()
reload
private void reload()
getReloadingStrategy
private ReloadingStrategy getReloadingStrategy()
setReloadingStrategy
public void setReloadingStrategy(ReloadingStrategy strategy)