# Package org.picocontainer.lifecycle

package org.picocontainer.lifecycle

Alternative implementations of lifecycle strategy for use with a container. Currently supported options are:

- Implement `Startable` and/or `Disposable` (or other strong interface)
- Use configuration to wire methods that are start/stop/dispose equivalent.
- J2EE 5.0 Annotation-based lifecycles.
- Combinations thereof (composite)

Related Packages
Package
Description
org.picocontainer
This package contains the core API for PicoContainer, a compact container for working with the dependency injection pattern.
Class
Description
AbstractMonitoringLifecycleStrategy
Abstract base class for lifecycle strategy implementation supporting a `ComponentMonitor`.
CompositeLifecycleStrategy
Allow for use of alternate LifecycleStrategy strategies to be used at the same time.
DefaultLifecycleState
Bean-like implementation of LifecycleState.
JavaEE5LifecycleStrategy
Java EE 5 has some annotations PreDestroy and PostConstruct that map to start() and dispose() in our world
LifecycleState
Current lifecycle state of the container.
NullLifecycleStrategy
Lifecycle strategy that does nothing.
ReflectionLifecycleException
Subclass of `PicoException` that is thrown when there is a problem invoking lifecycle methods via reflection.
ReflectionLifecycleStrategy
Reflection lifecycle strategy.
StartableLifecycleStrategy
Startable lifecycle strategy.