Package org.mule.tests.api
Interface LifecycleTracker
- All Superinterfaces:
org.mule.runtime.api.lifecycle.Disposable,org.mule.runtime.api.lifecycle.Initialisable,org.mule.runtime.core.api.context.MuleContextAware
- All Known Implementing Classes:
BaseLifecycleTracker,LifecycleObject,LifecycleTrackerConfiguration,LifecycleTrackerSource
public interface LifecycleTracker
extends org.mule.runtime.api.lifecycle.Initialisable, org.mule.runtime.api.lifecycle.Disposable, org.mule.runtime.core.api.context.MuleContextAware
Classes implementing this interface must track its lifecycle phases invocations.
The instances must be added to a
LifecycleTrackerRegistry which is added to the registry.
For practicality, extend BaseLifecycleTracker instead of implement this interface.-
Field Summary
Fields inherited from interface org.mule.runtime.api.lifecycle.Disposable
PHASE_NAMEFields inherited from interface org.mule.runtime.api.lifecycle.Initialisable
PHASE_NAME -
Method Summary
Modifier and TypeMethodDescriptionReturns a list of the already invoked phases on this tracker, even if the phase failed.Methods inherited from interface org.mule.runtime.api.lifecycle.Disposable
disposeMethods inherited from interface org.mule.runtime.api.lifecycle.Initialisable
initialiseMethods inherited from interface org.mule.runtime.core.api.context.MuleContextAware
setMuleContext
-
Method Details
-
getCalledPhases
Returns a list of the already invoked phases on this tracker, even if the phase failed.
-