org.apache.avalon.framework.configuration
Interface Configurable
- All Known Subinterfaces:
- DataSourceComponent, Reconfigurable
- All Known Implementing Classes:
- DefaultComponentManager, DefaultComponentSelector, DefaultRoleManager
- 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.
- Author:
- Federico Barbieri, Pierpaolo Fumagalli, Stefano Mazzocchi, Berin Loritsch, Peter Donald
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.
Copyright © 2001 Apache Jakarta Project. All Rights Reserved.