Interface Configurable
-
- All Known Subinterfaces:
Reconfigurable
public interface ConfigurableThis interface should be implemented by classes that need to be configured with custom parameters before initialization.
The contract surrounding aConfigurableis that the instantiating entity must call theconfiguremethod 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidconfigure(Configuration configuration)Pass theConfigurationto theConfigurableclass.
-
-
-
Method Detail
-
configure
void configure(Configuration configuration) throws ConfigurationException
Pass theConfigurationto theConfigurableclass.- Parameters:
configuration- the class configurations. Must not benull.- Throws:
ConfigurationException- if an error occurs
-
-