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_NAME

    Fields inherited from interface org.mule.runtime.api.lifecycle.Initialisable

    PHASE_NAME
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns 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

    dispose

    Methods inherited from interface org.mule.runtime.api.lifecycle.Initialisable

    initialise

    Methods inherited from interface org.mule.runtime.core.api.context.MuleContextAware

    setMuleContext
  • Method Details

    • getCalledPhases

      List<String> getCalledPhases()
      Returns a list of the already invoked phases on this tracker, even if the phase failed.