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:
CVS $Revision: 1.15 $ $Date: 2003/02/11 15:58:38 $

Author:
Avalon Development Team

Method Summary

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

Method Details

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 B) 2001 Apache Jakarta Project. All Rights Reserved."