|
![]() |
||||||||||
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.LifecycleVisitor
Constructor Summary | |
LifecycleVisitor(Method method,
Class ofType,
boolean visitInInstantiationOrder)
|
Method Summary | |
static void |
dispose(Object node)
Invoke the standard PicoContainer lifecycle for Disposable.dispose() . |
static void |
start(Object node)
Invoke the standard PicoContainer lifecycle for Startable.start() . |
static void |
stop(Object node)
Invoke the standard PicoContainer lifecycle for Startable.stop() . |
Object |
traverse(Object node)
Entry point for the PicoVisitor traversal. |
void |
visitComponentAdapter(ComponentAdapter componentAdapter)
Visit a ComponentAdapter that has to accept the visitor. |
void |
visitContainer(PicoContainer pico)
Visit a PicoContainer that has to accept the visitor. |
void |
visitParameter(Parameter parameter)
Visit a Parameter that has to accept the visitor. |
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 |
public LifecycleVisitor(Method method, Class ofType, boolean visitInInstantiationOrder)
Method Detail |
public Object traverse(Object node)
PicoVisitor
PicoContainer
, ComponentAdapter
,
or Parameter
are valid.
traverse
in interface PicoVisitor
traverse
in class AbstractPicoVisitor
public void visitContainer(PicoContainer pico)
PicoVisitor
PicoContainer
that has to accept the visitor.
pico
- the visited container.public void visitComponentAdapter(ComponentAdapter componentAdapter)
PicoVisitor
ComponentAdapter
that has to accept the visitor.
componentAdapter
- the visited ComponentAdapter.public void visitParameter(Parameter parameter)
PicoVisitor
Parameter
that has to accept the visitor.
parameter
- the visited Parameter.public static void start(Object node)
Startable.start()
.
node
- The node to start the traversal.public static void stop(Object node)
Startable.stop()
.
node
- The node to start the traversal.public static void dispose(Object node)
Disposable.dispose()
.
node
- The node to start the traversal.
|
![]() |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |