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)
-
Interface Summary Interface Description LifecycleState Current lifecycle state of the container. -
Class Summary Class Description AbstractMonitoringLifecycleStrategy Abstract base class for lifecycle strategy implementation supporting aComponentMonitor
.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 worldNullLifecycleStrategy Lifecycle strategy that does nothing.ReflectionLifecycleStrategy Reflection lifecycle strategy.StartableLifecycleStrategy Startable lifecycle strategy. -
Exception Summary Exception Description ReflectionLifecycleException Subclass ofPicoException
that is thrown when there is a problem invoking lifecycle methods via reflection.