LifecycleManagerpublic class LifecycleVisitor extends MethodCallingVisitor
| Modifier and Type | Field and Description |
|---|---|
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.
|
| Modifier | Constructor and Description |
|---|---|
|
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 |
| Modifier and Type | Method and Description |
|---|---|
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 |
getArguments, getMethod, invoke, traverse, visitContainervisitComponentAdapter, visitParametercheckTraversalprivate 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
protected LifecycleVisitor(java.lang.reflect.Method method,
java.lang.Class ofType,
boolean visitInInstantiationOrder,
ComponentMonitor monitor)
LifecycleManagermethod - 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)
LifecycleManagermethod - the method to callofType - the component typevisitInInstantiationOrder - flag for the visiting orderpublic static void start(java.lang.Object node)
LifecycleManagerStartable.start().node - The node to start the traversal.public static void stop(java.lang.Object node)
LifecycleManagerStartable.stop().node - The node to start the traversal.public static void dispose(java.lang.Object node)
LifecycleManagerDisposable.dispose().node - The node to start the traversal.protected java.lang.Object invoke(java.lang.Object target)
invoke in class MethodCallingVisitor