biz.hammurapi.config
Interface Component

All Known Subinterfaces:
AppendableCache, Cache, NamedComponent, PoolableComponent, Service
All Known Implementing Classes:
AppendableMemoryCache, ComponentBase, CompositeWorkerContainer, ConnectionPerThreadDataSourceComponent, DomConfigurableContainer, ElementNameDomConfigurableContainer, GenericContainer, HtmlMeasurementCategoryFactory, HypersonicDataSourceComponent, HypersonicInMemoryDataSourceComponent, HypersonicStandaloneDataSourceComponent, HypersonicTmpDataSourceComponent, JndiBridge, JndiWrapper, MemoryCache, NameAttributeDomConfigurableContainer, PassiveMemoryCache, Reference, RemoteSlicingMeasurementCategoryFactory, RmiComponent, RmiRegistryComponent, RmiWrapper, RowsetConfigurableContainer, ServiceBase, SimpleMemoryCache, SlicingMeasurementCategoryFactory, SlicingMeasurementConsumer, ThreadPool, ThreadPoolComponentWrapper, WorkerRemotizer, XmlMeasurementCategoryFactory

public interface Component

Provides lifecycle methods

Version:
$Revision: 1.2 $
Author:
Pavel Vlasov

Method Summary
 void setOwner(java.lang.Object owner)
          Plugs the component into container and naming bus.
 void start()
          Invoked by container before the first use.
 void stop()
          Invoked by container when component is not needed anymore.
 

Method Detail

start

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

Throws:
ConfigurationException

stop

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

Throws:
ConfigurationException

setOwner

void setOwner(java.lang.Object owner)
Plugs the component into container and naming bus.

Parameters:
Component - owner.


Copyright © 2003 Hammurapi Group. All Rights Reserved.