org.mule.lifecycle
Class DefaultLifecycleManager<T extends Lifecycle>
java.lang.Object
org.mule.lifecycle.AbstractLifecycleManager<O>
org.mule.lifecycle.SimpleLifecycleManager<T>
org.mule.lifecycle.DefaultLifecycleManager<T>
- Type Parameters:
T - Type of the object that we need to manage the lifecycle
- All Implemented Interfaces:
- LifecycleManager
public class DefaultLifecycleManager<T extends Lifecycle>
- extends SimpleLifecycleManager<T>
Default implementation of a SimpleLifecycleManager it allows Lifecycle objects to manage their
lifecycle easily.
- Since:
- 3.5.0
| Methods inherited from class org.mule.lifecycle.AbstractLifecycleManager |
addDirectTransition, checkPhase, createLifecycleState, getCurrentPhase, getExecutingPhase, getLifecycleObject, getState, invokePhase, isDirectTransition, isDirectTransition, isPhaseComplete, notifyTransition, registerLifecycleCallback, reset, setCurrentPhase, setExecutingPhase |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultLifecycleManager
public DefaultLifecycleManager(String id,
T object)
fireInitialisePhase
public void fireInitialisePhase(LifecycleCallback<T> callback)
throws InitialisationException
- Specified by:
fireInitialisePhase in class SimpleLifecycleManager<T extends Lifecycle>
- Throws:
InitialisationException
fireStartPhase
public void fireStartPhase(LifecycleCallback<T> callback)
throws MuleException
- Specified by:
fireStartPhase in class SimpleLifecycleManager<T extends Lifecycle>
- Throws:
MuleException
fireStopPhase
public void fireStopPhase(LifecycleCallback<T> callback)
throws MuleException
- Specified by:
fireStopPhase in class SimpleLifecycleManager<T extends Lifecycle>
- Throws:
MuleException
fireDisposePhase
public void fireDisposePhase(LifecycleCallback<T> callback)
- Specified by:
fireDisposePhase in class SimpleLifecycleManager<T extends Lifecycle>
Copyright © 2003–2014 MuleSoft, Inc.. All rights reserved.