org.apache.avalon.framework.parameters
Interface Parameterizable

All Known Subinterfaces:
Reparameterizable
All Known Implementing Classes:
DefaultEntityResolver, FullLifecycleComponent, HTTPClientSource, HTTPClientSourceFactory, JaxpParser, JispFilesystemStore, MRUMemoryStore, StoreJanitorImpl, TPCThreadManager, XSLTProcessorImpl

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:
$Id: Parameterizable.java 30977 2004-07-30 08:57:54Z niclas $
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 © 1997-2005 The Apache Software Foundation. All Rights Reserved.