|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.picocontainer.defaults.AbstractPicoVisitor
org.picocontainer.defaults.TraversalCheckingVisitor
org.picocontainer.defaults.MethodCallingVisitor
org.picocontainer.defaults.LifecycleVisitor
LifecycleManager
public class LifecycleVisitor
A PicoVisitor for the lifecycle methods of the components.
Field Summary | |
---|---|
private ComponentMonitor |
componentMonitor
Deprecated. |
private static java.lang.reflect.Method |
DISPOSE
Deprecated. |
private static java.lang.reflect.Method |
START
Deprecated. |
private static java.lang.reflect.Method |
STOP
Deprecated. |
Constructor Summary | |
---|---|
|
LifecycleVisitor(java.lang.reflect.Method method,
java.lang.Class ofType,
boolean visitInInstantiationOrder)
Deprecated. since 1.2 in favour of LifecycleManager |
protected |
LifecycleVisitor(java.lang.reflect.Method method,
java.lang.Class ofType,
boolean visitInInstantiationOrder,
ComponentMonitor monitor)
Deprecated. since 1.2 in favour of LifecycleManager |
Method Summary | |
---|---|
static void |
dispose(java.lang.Object node)
Deprecated. since 1.2 in favour of LifecycleManager |
protected java.lang.Object |
invoke(java.lang.Object target)
Deprecated. |
static void |
start(java.lang.Object node)
Deprecated. since 1.2 in favour of LifecycleManager |
static void |
stop(java.lang.Object node)
Deprecated. since 1.2 in favour of LifecycleManager |
Methods inherited from class org.picocontainer.defaults.MethodCallingVisitor |
---|
getArguments, getMethod, invoke, traverse, visitContainer |
Methods inherited from class org.picocontainer.defaults.TraversalCheckingVisitor |
---|
visitComponentAdapter, visitParameter |
Methods inherited from class org.picocontainer.defaults.AbstractPicoVisitor |
---|
checkTraversal |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final java.lang.reflect.Method START
private static final java.lang.reflect.Method STOP
private static final java.lang.reflect.Method DISPOSE
private final ComponentMonitor componentMonitor
Constructor Detail |
---|
protected LifecycleVisitor(java.lang.reflect.Method method, java.lang.Class ofType, boolean visitInInstantiationOrder, ComponentMonitor monitor)
LifecycleManager
method
- the method to callofType
- the component typevisitInInstantiationOrder
- flag for the visiting ordermonitor
- the ComponentMonitor
to usepublic LifecycleVisitor(java.lang.reflect.Method method, java.lang.Class ofType, boolean visitInInstantiationOrder)
LifecycleManager
method
- the method to callofType
- the component typevisitInInstantiationOrder
- flag for the visiting orderMethod Detail |
---|
public static void start(java.lang.Object node)
LifecycleManager
Startable.start()
.
node
- The node to start the traversal.public static void stop(java.lang.Object node)
LifecycleManager
Startable.stop()
.
node
- The node to start the traversal.public static void dispose(java.lang.Object node)
LifecycleManager
Disposable.dispose()
.
node
- The node to start the traversal.protected java.lang.Object invoke(java.lang.Object target)
invoke
in class MethodCallingVisitor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |