org.apache.avalon.framework.parameters
Interface Parameterizable

All Known Subinterfaces:
Reparameterizable

public interface Parameterizable

Components should implement this interface if they wish to be provided with parameters during startup.

The Parameterizable interface is a light-weight alternative to the Configurable interface. As such, the Parameterizable interface and the Configurable interface are not compatible.

This interface will be called after Composable.compose() and before Initializable.initialize().

Version:
CVS $Revision: 1.16 $ $Date: 2003/02/11 15:58:41 $
Author:
Avalon Development Team

Method Summary
 void parameterize(Parameters parameters)
          Provide component with parameters.
 

Method Detail

parameterize

public void parameterize(Parameters parameters)
                  throws ParameterException
Provide component with parameters.

Parameters:
parameters - the parameters. Must not be null.
Throws:
ParameterException - if parameters are invalid


Copyright © 2001 Apache Jakarta Project. All Rights Reserved.