|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
A manager for the lifecycle of a container's components.
The lifecycle manager is implemented by the component adapters
which will resolve the dependencies of the component instance and
delegate the implementation of the lifecycle control to the
lifecycle strategy.
LifecycleStrategy| Method Summary | |
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. |
| Method Detail |
public void start(PicoContainer container)
container - the container to "start" its components' lifecyclepublic void stop(PicoContainer container)
container - the container to "stop" its components' lifecyclepublic void dispose(PicoContainer container)
container - the container to "dispose" its components' lifecyclepublic boolean hasLifecycle()
true if the component has a lifecycle
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||