Package org.exoplatform.container
Class LifecycleVisitor
java.lang.Object
org.exoplatform.container.LifecycleVisitor
- All Implemented Interfaces:
ContainerVisitor
-
Constructor Summary
ConstructorsConstructorDescriptionLifecycleVisitor(Method method, Class<?> ofType, boolean visitInInstantiationOrder, boolean ignoreError) LifecycleVisitor(Method method, Class<?> ofType, boolean visitInInstantiationOrder, boolean ignoreError, boolean startTransaction) -
Method Summary
Modifier and TypeMethodDescriptionstatic voidInvoke the standard Container lifecycle forDisposable.dispose().static voidInvoke the standard Container lifecycle forStartable.start().static voidInvoke the standard Container lifecycle forStartable.stop().voidvisitContainer(Container container) Visit aContainerthat has to accept the visitor.
-
Constructor Details
-
LifecycleVisitor
-
LifecycleVisitor
-
-
Method Details
-
visitContainer
Description copied from interface:ContainerVisitorVisit aContainerthat has to accept the visitor.- Specified by:
visitContainerin interfaceContainerVisitor- Parameters:
container- the visited container.
-
start
Invoke the standard Container lifecycle forStartable.start().- Parameters:
container- The node to start the traversal.
-
stop
Invoke the standard Container lifecycle forStartable.stop().- Parameters:
container- The node to start the traversal.
-
dispose
Invoke the standard Container lifecycle forDisposable.dispose().- Parameters:
container- The node to start the traversal.
-