Class LifecycleTrackerSource

java.lang.Object
org.mule.runtime.extension.api.runtime.source.Source<String,Serializable>
org.mule.tests.api.LifecycleTrackerSource
All Implemented Interfaces:
org.mule.runtime.api.lifecycle.Disposable, org.mule.runtime.api.lifecycle.Initialisable, org.mule.runtime.core.api.context.MuleContextAware, LifecycleTracker

@MediaType("text/plain") public class LifecycleTrackerSource extends org.mule.runtime.extension.api.runtime.source.Source<String,Serializable> implements LifecycleTracker
  • 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
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    Returns a list of the already invoked phases on this tracker, even if the phase failed.
    void
     
    void
    onStart(org.mule.runtime.extension.api.runtime.source.SourceCallback sourceCallback)
     
    void
     
    void
    setMuleContext(org.mule.runtime.core.api.MuleContext context)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • LifecycleTrackerSource

      public LifecycleTrackerSource()
  • Method Details

    • onStart

      public void onStart(org.mule.runtime.extension.api.runtime.source.SourceCallback sourceCallback) throws org.mule.runtime.api.exception.MuleException
      Specified by:
      onStart in class org.mule.runtime.extension.api.runtime.source.Source<String,Serializable>
      Throws:
      org.mule.runtime.api.exception.MuleException
    • onStop

      public void onStop()
      Specified by:
      onStop in class org.mule.runtime.extension.api.runtime.source.Source<String,Serializable>
    • getCalledPhases

      public List<String> getCalledPhases()
      Description copied from interface: LifecycleTracker
      Returns a list of the already invoked phases on this tracker, even if the phase failed.
      Specified by:
      getCalledPhases in interface LifecycleTracker
    • dispose

      public void dispose()
      Specified by:
      dispose in interface org.mule.runtime.api.lifecycle.Disposable
    • initialise

      public void initialise() throws org.mule.runtime.api.lifecycle.InitialisationException
      Specified by:
      initialise in interface org.mule.runtime.api.lifecycle.Initialisable
      Throws:
      org.mule.runtime.api.lifecycle.InitialisationException
    • setMuleContext

      public void setMuleContext(org.mule.runtime.core.api.MuleContext context)
      Specified by:
      setMuleContext in interface org.mule.runtime.core.api.context.MuleContextAware