org.mule.component
Class ComponentLifecycleManager
java.lang.Object
org.mule.lifecycle.AbstractLifecycleManager<O>
org.mule.lifecycle.SimpleLifecycleManager<Component>
org.mule.component.ComponentLifecycleManager
- All Implemented Interfaces:
- LifecycleManager
public class ComponentLifecycleManager
- extends SimpleLifecycleManager<Component>
The lifecycle manager responsible for managing lifecycle transitions for a Mule
service. The Mule service adds some additional states, namely pause and resume.
The lifecycle manager manages lifecycle notifications and logging as well.
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 |
logger
protected final transient Log logger
- logger used by this class
muleContext
protected MuleContext muleContext
ComponentLifecycleManager
public ComponentLifecycleManager(String name,
Component component)
fireInitialisePhase
public void fireInitialisePhase(LifecycleCallback<Component> callback)
throws InitialisationException
- Specified by:
fireInitialisePhase
in class SimpleLifecycleManager<Component>
- Throws:
InitialisationException
fireStartPhase
public void fireStartPhase(LifecycleCallback<Component> callback)
throws MuleException
- Specified by:
fireStartPhase
in class SimpleLifecycleManager<Component>
- Throws:
MuleException
fireStopPhase
public void fireStopPhase(LifecycleCallback<Component> callback)
throws MuleException
- Specified by:
fireStopPhase
in class SimpleLifecycleManager<Component>
- Throws:
MuleException
fireDisposePhase
public void fireDisposePhase(LifecycleCallback<Component> callback)
- Specified by:
fireDisposePhase
in class SimpleLifecycleManager<Component>
Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.