|
|
||||||||||
| 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
A PicoVisitor for the lifecycle methods of the components.
| Constructor Summary | |
|
LifecycleVisitor(Method method,
Class ofType,
boolean visitInInstantiationOrder)
Deprecated. since 1.2 in favour of LifecycleManager |
protected |
LifecycleVisitor(Method method,
Class ofType,
boolean visitInInstantiationOrder,
ComponentMonitor monitor)
Deprecated. since 1.2 in favour of LifecycleManager |
| Method Summary | |
static void |
dispose(Object node)
Deprecated. since 1.2 in favour of LifecycleManager |
protected Object |
invoke(Object target)
Deprecated. |
static void |
start(Object node)
Deprecated. since 1.2 in favour of LifecycleManager |
static void |
stop(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 |
| Constructor Detail |
protected LifecycleVisitor(Method method,
Class ofType,
boolean visitInInstantiationOrder,
ComponentMonitor monitor)
LifecycleManager
method - the method to callofType - the component typevisitInInstantiationOrder - flag for the visiting ordermonitor - the ComponentMonitor to use
public LifecycleVisitor(Method method,
Class ofType,
boolean visitInInstantiationOrder)
LifecycleManager
method - the method to callofType - the component typevisitInInstantiationOrder - flag for the visiting order| Method Detail |
public static void start(Object node)
LifecycleManager
Startable.start().
node - The node to start the traversal.public static void stop(Object node)
LifecycleManager
Startable.stop().
node - The node to start the traversal.public static void dispose(Object node)
LifecycleManager
Disposable.dispose().
node - The node to start the traversal.protected Object invoke(Object target)
invoke in class MethodCallingVisitor
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||