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.17 $ $Date: 2004/02/11 14:34:24 $
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.