eXo Kernel :: Container 2.5.0-GA

org.picocontainer
Interface Disposable

All Known Subinterfaces:
Container, Interceptor
All Known Implementing Classes:
AbstractContainer, AbstractInterceptor, CachingContainer, ConcurrentContainer, ExoContainer, ManageableContainer, PortalContainer, RootContainer, StandaloneContainer

public interface Disposable

An interface which is implemented by components that need to dispose of resources during the shutdown of that component. The dispose() must be called once during shutdown, directly after Startable.stop() (if the component implements the Startable interface).

Version:
$Revision: 1.7 $, $Id$
Author:
Nicolas Filotto
See Also:
the Startable interface if you need to start() and stop() semantics.

Method Summary
 void dispose()
          Dispose this component.
 

Method Detail

dispose

void dispose()
Dispose this component. The component should deallocate all resources. The contract for this method defines a single call at the end of this component's life.


eXo Kernel :: Container 2.5.0-GA

Copyright © 2014 eXo Platform SAS. All Rights Reserved.