org.sape.carbon.core.component.lifecycle
Interface Configurable

All Known Subinterfaces:
ComponentLifecycle
All Known Implementing Classes:
AbstractMRUCache, BoundedBufferPerformanceLogger, DefaultCarbonManagementServiceImpl, DefaultConfigurationTypeServiceImpl, DefaultDeploymentServiceImpl, DefaultHttpAdaptorServiceImpl, DefaultInitialContextFactoryImpl, DefaultJrmpRemotingImpl, DefaultSchedulerServiceImpl, DefaultStartupServiceImpl, DefaultStatementFactoryImpl, DefaultThreadPoolImpl, DefaultUniqueIDServiceImpl, LocalHomeFactoryImpl, MultiGetMRUCache, NamedDataSourceConnectionFactory, ReadOnlyCache, RemoteHomeFactoryImpl, SqlBeanDataLoader, SqlBeanMapMRUDataLoader, StandaloneConnectionFactory, SynchronousMailService, WebLogicMBeanServerServiceImpl, WritableCache

public interface Configurable

The configure method must be implemented by all Components. It provides a callback method for the container to push configuration data to the component. Used in combination with the Suspendable interface. Copyright 2002 Sapient

Since:
carbon 1.0
Version:
$Revision: 1.10 $($Author: dvoet $ / $Date: 2003/05/05 21:21:13 $)
Author:
Chris Herron, January 2002
See Also:
Suspendable

Method Summary
 void configure(ComponentConfiguration configuration)
          Configure the component.
 

Method Detail

configure

public void configure(ComponentConfiguration configuration)
               throws Exception
Configure the component. This is preceded and followed by the suspend and resume operations if they are available on the component.

Parameters:
configuration - the configuration for this component
Throws:
LifecycleException - indicates an error with the configure
Exception - indicates a unknown error


Copyright 1999-2003 Sapient Corporation. All Rights Reserved.