org.apache.avalon.framework.activity
Interface Disposable


public interface Disposable

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

Version:
$Id: Disposable.java 506231 2007-02-12 02:36:54Z crossley $
Author:
Avalon Development Team

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

Method Detail

dispose

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-2011 Apache Software Foundation. All Rights Reserved.