org.apache.avalon.framework.configuration
Interface Configurable
public interface Configurable
This interface should be implemented by classes that need to be
configured with custom parameters before initialization.
The contract surrounding a Configurable
is that the
instantiating entity must call the configure
method before it is valid.
Note that this interface is incompatible with Parameterizable.
CVS $Revision: 1.18 $ $Date: 2004/02/11 14:34:24 $ void | configure(Configuration configuration) - Pass the
Configuration to the Configurable
class.
|
configure
public void configure(Configuration configuration)
throws ConfigurationException
Pass the Configuration
to the Configurable
class.
configuration
- the class configurations. Must not be null
.