public interface LifecycleManager
lifecycle strategy
.LifecycleStrategy
Modifier and Type | Method and Description |
---|---|
void |
dispose(PicoContainer container)
Invoke the "dispose" method on the container's components.
|
boolean |
hasLifecycle()
Test if a container's component has a lifecycle.
|
void |
start(PicoContainer container)
Invoke the "start" method on the container's components.
|
void |
stop(PicoContainer container)
Invoke the "stop" method on the container's components.
|
void start(PicoContainer container)
container
- the container to "start" its components' lifecyclevoid stop(PicoContainer container)
container
- the container to "stop" its components' lifecyclevoid dispose(PicoContainer container)
container
- the container to "dispose" its components' lifecycleboolean hasLifecycle()
true
if the component has a lifecycle