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 30977 2004-07-30 03:57:54 -0500 (Fri, 30 Jul 2004) niclas $
- Author:
- Avalon Development Team
-
Method Summary
Modifier and TypeMethodDescriptionvoid
dispose()
The dispose operation is called at the end of a components lifecycle.
-
Method Details
-
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.
-