public interface ComponentLifecycle<T>
| Modifier and Type | Method and Description |
|---|---|
boolean |
componentHasLifecycle()
Test if a component honors a lifecycle.
|
void |
dispose(PicoContainer container)
Invoke the "dispose" method on the component.
|
boolean |
isStarted() |
void |
start(PicoContainer container)
Invoke the "start" method on the component.
|
void |
stop(PicoContainer container)
Invoke the "stop" method on the component.
|
void start(PicoContainer container)
container - the container to "start" the componentvoid stop(PicoContainer container)
container - the container to "stop" the componentvoid dispose(PicoContainer container)
container - the container to "dispose" the componentboolean componentHasLifecycle()
true if the component has a lifecycleboolean isStarted()
Copyright © 2003-2014 Codehaus. All Rights Reserved.