Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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. The `dispose()` must be called once during shutdown, directly after `Startable.stop()` (if the component implements the `Startable` interface).

See Also:
  `the Startable interface if you need to `start()` and `stop()` semantics.`, `the main PicoContainer interface (and hence its subinterfaces and implementations like {@link DefaultPicoContainer}) implement this interface.`

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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2009 Codehaus. All Rights Reserved.