org.apache.avalon.framework.activity
Interface Disposable

All Known Implementing Classes:
AbstractComponentHandler, AbstractContainer, AbstractDataSourceCluster, AbstractDataSourceIdGenerator, AbstractJdbcConnection, AbstractService, AbstractThreadManager, AbstractThreadManager, AvalonTee, BlockingFixedSizePool, CommandManager, ComponentHandler, ContextManager, DefaultComponentFactory, DefaultConnectionManager, DefaultContainerManager, DefaultDataSourceSelector, DefaultEntityResolver, DefaultHelloDBService, DefaultInstrumentManagerImpl, DefaultLoggerManager, DefaultPool, DefaultThreadPool, DefaultTimeScheduler, ExcaliburComponentManager, ExcaliburComponentManagerCreator, ExcaliburComponentSelector, FixedSizePool, FortressBean, FullLifecycleComponent, InstrumentedResourceLimitingPool, InstrumentedResourceLimitingThreadPool, JaxpParser, JdbcConnectionPool, JdbcDataSource, JispFilesystemStore, LEAwareComponentHandler, LoggerManagerDecorator, LogKitConfHelper, LogKitLoggerManager, MRUMemoryStore, ResourceLimitingJdbcDataSource, ResourceLimitingPool, ResourceLimitingThreadPool, SimpleLogKitManager, SingleThreadedPool, SourceResolverImpl, SSLFactoryBuilder, VariableSizePool, XSLTProcessorImpl

public interface Disposable

The Disposable interface is used when components need to deallocate and dispose resources prior to their destruction.

Version:
$Id: Disposable.java 30977 2004-07-30 08:57:54Z niclas $
Author:
Avalon Development Team

Method Summary
 void dispose()
          The dispose operation is called at the end of a components lifecycle.
 

Method Detail

dispose

public void dispose()
The dispose operation is called at the end of a components lifecycle. This method will be called after Startable.stop() method (if implemented by component). Components use this method to release and destroy any resources that the Component owns.



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