com.nhncorp.neptune.common.conf
Class NConfigured

java.lang.Object
  extended by com.nhncorp.neptune.common.conf.NConfigured
All Implemented Interfaces:
NConfigurable

public class NConfigured
extends java.lang.Object
implements NConfigurable

Base class for things that may be configured with a NConfiguration.


Constructor Summary
NConfigured(NConfiguration conf)
          Construct a Configured.
 
Method Summary
 NConfiguration getConf()
          Return the configuration used by this object.
 void setConf(NConfiguration conf)
          Set the configuration to be used by this object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NConfigured

public NConfigured(NConfiguration conf)
Construct a Configured.

Method Detail

setConf

public void setConf(NConfiguration conf)
Description copied from interface: NConfigurable
Set the configuration to be used by this object.

Specified by:
setConf in interface NConfigurable

getConf

public NConfiguration getConf()
Description copied from interface: NConfigurable
Return the configuration used by this object.

Specified by:
getConf in interface NConfigurable