Package org.mule.tests.api
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_NAMEFields inherited from interface org.mule.runtime.api.lifecycle.Initialisable
PHASE_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddispose()Returns a list of the already invoked phases on this tracker, even if the phase failed.voidvoidonStart(org.mule.runtime.extension.api.runtime.source.SourceCallback sourceCallback) voidonStop()voidsetMuleContext(org.mule.runtime.core.api.MuleContext context)
-
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:
onStartin classorg.mule.runtime.extension.api.runtime.source.Source<String,Serializable> - Throws:
org.mule.runtime.api.exception.MuleException
-
onStop
public void onStop()- Specified by:
onStopin classorg.mule.runtime.extension.api.runtime.source.Source<String,Serializable>
-
getCalledPhases
Description copied from interface:LifecycleTrackerReturns a list of the already invoked phases on this tracker, even if the phase failed.- Specified by:
getCalledPhasesin interfaceLifecycleTracker
-
dispose
public void dispose()- Specified by:
disposein interfaceorg.mule.runtime.api.lifecycle.Disposable
-
initialise
public void initialise() throws org.mule.runtime.api.lifecycle.InitialisationException- Specified by:
initialisein interfaceorg.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:
setMuleContextin interfaceorg.mule.runtime.core.api.context.MuleContextAware
-