com.pavelvlasov.config
Interface Component

All Known Subinterfaces:
AppendableCache, Cache
All Known Implementing Classes:
AppendableMemoryCache, ComponentBase, CompositeWorkerContainer, ConnectionPerThreadDataSourceComponent, GenericContainer, HypersonicDataSourceComponent, MemoryCache, PassiveMemoryCache, RemoteSlicingMeasurementCategoryFactory, RmiComponent, RmiWrapper, SimpleMemoryCache, SlicingMeasurementCategoryFactory, SlicingMeasurementConsumer, ThreadPool, ThreadPoolComponentWrapper, XmlMeasurementCategoryFactory

public interface Component

Provides lifecycle methods

Version:
$Revision: 1.2 $
Author:
Pavel Vlasov

Method Summary
 void setOwner(java.lang.Object owner)
          Invoked by container to set component owner for callbacks.
 void start()
          Invoked by container before the first use.
 void stop()
          Invoked by container when component is not needed anymore.
 

Method Detail

start

public void start()
           throws ConfigurationException
Invoked by container before the first use. Component shall perform initialization in this method.

Throws:
ConfigurationException

stop

public void stop()
          throws ConfigurationException
Invoked by container when component is not needed anymore. Component shall perform cleanup in this method.

Throws:
ConfigurationException

setOwner

public void setOwner(java.lang.Object owner)
Invoked by container to set component owner for callbacks.



Copyright © 2003 Hammurapi Group. All Rights Reserved.