Package org.picocontainer
Interface Disposable
-
- All Known Subinterfaces:
Container,Interceptor
- All Known Implementing Classes:
AbstractContainer,AbstractInterceptor,CachingContainer,ConcurrentContainer,ExoContainer,ManageableContainer,PortalContainer,RootContainer,StandaloneContainer
public interface DisposableAn interface which is implemented by components that need to dispose of resources during the shutdown of that component. Thedispose()must be called once during shutdown, directly afterStartable.stop()(if the component implements theStartableinterface).- Version:
- $Revision: 1.7 $, $Id$
- Author:
- Nicolas Filotto
- See Also:
the Startable interface if you need to start() and stop() semantics.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddispose()Dispose this component.
-