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.

Version: $Id: Configurable.java 30977 2004-07-30 03:57:54 -0500 (Fri, 30 Jul 2004) niclas $

Author: Avalon Development Team

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

Method Detail

configure

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

Parameters: configuration the class configurations. Must not be null.

Throws: ConfigurationException if an error occurs