org.apache.avalon.framework.configuration
Interface Configurable

All Known Subinterfaces:
Reconfigurable

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. The configure method must be called after the constructor, and before any other method.
Note that this interface is incompatible with Parameterizable.

Author:
Federico Barbieri, Pierpaolo Fumagalli, Stefano Mazzocchi, Berin Loritsch, Peter Donald

Method Summary
 void configure(Configuration configuration)
          Pass the Configuration to the Configurable class.
 

Method Detail

configure

public void configure(Configuration configuration)
               throws ConfigurationException
Pass the Configuration to the Configurable class. This method must always be called after the constructor and before any other method.

Parameters:
configuration - the class configurations.
Throws:
ConfigurationException


"Copyright ? 2001 Apache Jakarta Project. All Rights Reserved."