public class BaseLifecycleTracker extends Object implements org.mule.runtime.api.lifecycle.Lifecycle, org.mule.runtime.core.api.context.MuleContextAware, LifecycleTracker
LifecycleTracker| Constructor and Description |
|---|
BaseLifecycleTracker(boolean shouldCheck) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addTrackingDataToRegistry(String trackerName) |
void |
addTrackingDataToRegistry(String trackerName,
LifecycleTrackerRegistry registry) |
void |
dispose() |
List<String> |
getCalledPhases()
Returns a list of the already invoked phases on this tracker, even if the phase failed.
|
void |
initialise() |
protected void |
onDispose() |
protected void |
onInit(org.mule.runtime.core.api.MuleContext muleContext) |
protected void |
onSetMuleContext(org.mule.runtime.core.api.MuleContext muleContext) |
protected void |
onStart() |
protected void |
onStop() |
void |
setMuleContext(org.mule.runtime.core.api.MuleContext context) |
void |
start() |
void |
stop() |
protected void onInit(org.mule.runtime.core.api.MuleContext muleContext)
throws org.mule.runtime.api.lifecycle.InitialisationException
org.mule.runtime.api.lifecycle.InitialisationExceptionprotected void onStart()
throws org.mule.runtime.api.exception.MuleException
org.mule.runtime.api.exception.MuleExceptionprotected void onStop()
throws org.mule.runtime.api.exception.MuleException
org.mule.runtime.api.exception.MuleExceptionprotected void onDispose()
protected void onSetMuleContext(org.mule.runtime.core.api.MuleContext muleContext)
public void addTrackingDataToRegistry(String trackerName, LifecycleTrackerRegistry registry)
protected void addTrackingDataToRegistry(String trackerName)
public List<String> getCalledPhases()
LifecycleTrackergetCalledPhases in interface LifecycleTrackerpublic void initialise()
throws org.mule.runtime.api.lifecycle.InitialisationException
initialise in interface org.mule.runtime.api.lifecycle.Initialisableorg.mule.runtime.api.lifecycle.InitialisationExceptionpublic void start()
throws org.mule.runtime.api.exception.MuleException
start in interface org.mule.runtime.api.lifecycle.Startableorg.mule.runtime.api.exception.MuleExceptionpublic void stop()
throws org.mule.runtime.api.exception.MuleException
stop in interface org.mule.runtime.api.lifecycle.Stoppableorg.mule.runtime.api.exception.MuleExceptionpublic void dispose()
dispose in interface org.mule.runtime.api.lifecycle.Disposablepublic void setMuleContext(org.mule.runtime.core.api.MuleContext context)
setMuleContext in interface org.mule.runtime.core.api.context.MuleContextAwareCopyright © 2022 MuleSoft, Inc.. All rights reserved.