|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Behavior<T>
Behaviors modify the components created by a Injector with additional behaviors
LifecycleStrategy| Method Summary | |
|---|---|
boolean |
componentHasLifecycle()
Test if a component honors a lifecycle. |
void |
dispose(PicoContainer container)
Invoke the "dispose" method on the component. |
void |
start(PicoContainer container)
Invoke the "start" method on the component. |
void |
stop(PicoContainer container)
Invoke the "stop" method on the component. |
| Methods inherited from interface org.picocontainer.ComponentAdapter |
|---|
accept, findAdapterOfType, getComponentImplementation, getComponentInstance, getComponentKey, getDelegate, verify |
| Method Detail |
|---|
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 lifecycle
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||