public class LifecycleVisitor extends Object implements ContainerVisitor
| Constructor and Description |
|---|
LifecycleVisitor(Method method,
Class<?> ofType,
boolean visitInInstantiationOrder,
boolean ignoreError) |
| Modifier and Type | Method and Description |
|---|---|
static void |
dispose(Container container)
Invoke the standard Container lifecycle for
Disposable.dispose(). |
static void |
start(Container container)
Invoke the standard Container lifecycle for
Startable.start(). |
static void |
stop(Container container)
Invoke the standard Container lifecycle for
Startable.stop(). |
void |
visitContainer(Container container)
Visit a
Container that has to accept the visitor. |
public void visitContainer(Container container)
ContainerVisitorContainer that has to accept the visitor.visitContainer in interface ContainerVisitorcontainer - the visited container.public static void start(Container container)
Startable.start().container - The node to start the traversal.public static void stop(Container container)
Startable.stop().container - The node to start the traversal.public static void dispose(Container container)
Disposable.dispose().container - The node to start the traversal.Copyright © 2019 eXo Platform SAS. All Rights Reserved.