org.mule.lifecycle
Class DefaultLifecyclePair
java.lang.Object
org.mule.lifecycle.DefaultLifecyclePair
- All Implemented Interfaces:
- LifecyclePair
public class DefaultLifecyclePair
- extends Object
- implements LifecyclePair
A coupling of two opposite LifecyclePhase instances such as initialise and dispose or start and stop
Mule treats lifecycle in pairs in order to return system state to a level consistency when an opposite lifecycle method is called.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultLifecyclePair
public DefaultLifecyclePair(LifecyclePhase begin,
LifecyclePhase end)
getBegin
public LifecyclePhase getBegin()
- Description copied from interface:
LifecyclePair
- The beginning lifecycle phase in the pair i.e. initialise or start
- Specified by:
getBegin in interface LifecyclePair
- Returns:
- The beginning lifecycle phase in the pair
getEnd
public LifecyclePhase getEnd()
- Description copied from interface:
LifecyclePair
- The end lifecycle phase in the pair i.e. dispose or stop
- Specified by:
getEnd in interface LifecyclePair
- Returns:
- The end lifecycle phase in the pair
Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.