|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LifecycleManager
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 |
|---|
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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||