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.
Note that this interface is incompatible with Parameterizable.
- Version:
- CVS $Revision: 1.16 $ $Date: 2003/02/11 15:58:38 $
- Author:
- Avalon Development Team
configure
public void configure(Configuration configuration)
throws ConfigurationException
- Pass the
Configuration
to the Configurable
class.
- Parameters:
configuration
- the class configurations. Must not be null
.
- Throws:
ConfigurationException
- if an error occurs
Copyright © 2001 Apache Jakarta Project. All Rights Reserved.