net.sf.jame.core.config
Class DefaultConfigContext

java.lang.Object
  extended by net.sf.jame.core.config.DefaultConfigContext
All Implemented Interfaces:
ConfigContext

public class DefaultConfigContext
extends java.lang.Object
implements ConfigContext

Default implementation of a configuration context.

Author:
Andrea Medeghini

Constructor Summary
DefaultConfigContext()
          Constructs a new context.
 
Method Summary
 long getTimestamp()
          Returns the timestamp.
 void setParentConfigContext(ConfigContext context)
          Sets the parent context.
 void updateTimestamp()
          Updates the timestamp.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultConfigContext

public DefaultConfigContext()
Constructs a new context.

Method Detail

getTimestamp

public long getTimestamp()
Description copied from interface: ConfigContext
Returns the timestamp.

Specified by:
getTimestamp in interface ConfigContext
Returns:
the timestamp.
See Also:
ConfigContext.getTimestamp()

updateTimestamp

public void updateTimestamp()
Description copied from interface: ConfigContext
Updates the timestamp.

Specified by:
updateTimestamp in interface ConfigContext
See Also:
ConfigContext.updateTimestamp()

setParentConfigContext

public void setParentConfigContext(ConfigContext context)
Description copied from interface: ConfigContext
Sets the parent context.

Specified by:
setParentConfigContext in interface ConfigContext
Parameters:
context - the parent context.
See Also:
ConfigContext.setParentConfigContext(net.sf.jame.core.config.ConfigContext)