org.apache.avalon.framework.configuration
Interface Configurable

All Known Subinterfaces:
DataSourceComponent, HashedDataSourceCluster, IndexedDataSourceCluster, Reconfigurable, RoundRobinDataSourceCluster
All Known Implementing Classes:
AbstractDataSourceCluster, AbstractDataSourceIdGenerator, AbstractHandlerFactory, AbstractProcessorImpl, AbstractService, AbstractTargetFactory, AbstractThreadManager, AbstractTLSSocketFactory, ActiveMonitor, AvalonTee, ConfigurableRoleManager, DefaultContainer, DefaultDataSourceSelector, DefaultHashedDataSourceCluster, DefaultHelloDBService, DefaultIndexedDataSourceCluster, DefaultInstrumentManagerImpl, DefaultLoggerManager, DefaultLogKitManager, DefaultLogTargetFactoryManager, DefaultLogTargetManager, DefaultRoleManager, DefaultRoundRobinDataSourceCluster, DefaultSocketManager, DefaultXMLizer, ECMRoleManager, ExcaliburComponentManager, ExcaliburComponentSelector, File_Persistent_Object_Repository, File_Persistent_Stream_Repository, FullLifecycleComponent, InformixDataSource, InstrumentManagerHTTPConnector, InstrumentProxy, J2eeDataSource, JdbcDataSource, JTidyHTMLParser, Log4JConfAdapter, Log4JConfLoggerManager, LoggerManagerDecorator, LogKitConfHelper, LogKitLoggerManager, PassiveMonitor, PoolableComponentHandler, RepositoryManager, ResourceLimitingJdbcDataSource, SimpleLogKitManager, SSLFactoryBuilder, TLSSocketFactory, TranslatorImpl, XMLFilePersistentObjectRepository, XPathProcessorImpl

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 08:57:54Z niclas $
Author:
Avalon Development Team

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

Method Detail

configure

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

Parameters:
configuration - the class configurations. Must not be null.
Throws:
ConfigurationException - if an error occurs


Copyright © 1997-2005 The Apache Software Foundation. All Rights Reserved.