Package org.picocontainer
Interface Disposable
-
- All Known Subinterfaces:
ClassLoadingPicoContainer
,MutablePicoContainer
- All Known Implementing Classes:
AbstractDelegatingMutablePicoContainer
,DefaultClassLoadingPicoContainer
,DefaultPicoContainer
,TieringPicoContainer
,TransientPicoContainer
public interface Disposable
An 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 theStartable
interface).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
dispose()
Dispose this component.
-