Package | Description |
---|---|
org.mule.api.lifecycle |
Lifecycle interfaces for all Components.
|
org.mule.lifecycle | |
org.mule.lifecycle.phases | |
org.mule.service |
Modifier and Type | Method and Description |
---|---|
void |
LifecycleInterceptor.afterPhaseExecution(LifecyclePhase phase,
Object object,
com.google.common.base.Optional<Exception> exceptionThr)
Invoked after the given
phase was applied over the object . |
boolean |
LifecycleInterceptor.beforePhaseExecution(LifecyclePhase phase,
Object object)
Invoked before the given
phase is applied over the object . |
void |
LifecycleInterceptor.onPhaseCompleted(LifecyclePhase phase)
Invoked when the given
phase finished processing all the eligible
target objects, including those for which LifecycleInterceptor.beforePhaseExecution(LifecyclePhase, Object)
return false |
Modifier and Type | Field and Description |
---|---|
protected Map<String,LifecyclePhase> |
RegistryLifecycleManager.phases |
Modifier and Type | Method and Description |
---|---|
void |
PhaseErrorLifecycleInterceptor.afterPhaseExecution(LifecyclePhase phase,
Object object,
com.google.common.base.Optional<Exception> exceptionThrownOptional)
If the
phase name is trackingPhase then it tracks the given object as successful on the
trackingPhase . |
void |
NullLifecycleInterceptor.afterPhaseExecution(LifecyclePhase phase,
Object object,
com.google.common.base.Optional<Exception> exceptionThrownOptional)
NoOp implementation
|
boolean |
PhaseErrorLifecycleInterceptor.beforePhaseExecution(LifecyclePhase phase,
Object object)
Determines if the phase should be skipped if the phase name is
phaseToPreventOnTrackingPhaseError and the object
supports the phase phaseToPreventOnTrackingPhaseError and the phase trackingPhase phase was not successfully
completed |
boolean |
NullLifecycleInterceptor.beforePhaseExecution(LifecyclePhase phase,
Object object) |
void |
PhaseErrorLifecycleInterceptor.onPhaseCompleted(LifecyclePhase phase)
If the
phase name is trackingPhase then it marks the trackingPhase phase as completed and clears all
other tracking state so that memory can be reclaimed. |
void |
NullLifecycleInterceptor.onPhaseCompleted(LifecyclePhase phase)
NoOp implementation
|
protected void |
RegistryLifecycleManager.registerPhase(String phaseName,
LifecyclePhase phase) |
protected void |
RegistryLifecycleManager.registerPhase(String phaseName,
LifecyclePhase phase,
LifecycleCallback callback) |
Constructor and Description |
---|
RegistryLifecycleManager(String id,
Registry object,
Map<String,LifecyclePhase> phases) |
Modifier and Type | Class and Description |
---|---|
class |
ContainerManagedLifecyclePhase
Deprecated.
as of 3.7.0 since it's no longer used
|
class |
DefaultLifecyclePhase
Represents a configurable lifecycle phase.
|
class |
MuleContextDisposePhase
Objects are disposed of via the Registry since the Registry manages the creation/initialisation of the objects
it must also take care of disposing them.
|
class |
MuleContextInitialisePhase
The MuleContextInitialisePhase defines the lifecycle behaviour when the Mule context is initialised.
|
class |
MuleContextStartPhase
The Start phase for the MuleContext.
|
class |
MuleContextStopPhase
The Stop phase for the Management context LifecycleManager.
|
class |
NotInLifecyclePhase
This lifecycle phase marks the 'pre-lifecycle' phase of an object.
|
Modifier and Type | Class and Description |
---|---|
class |
PausePhase
Defines a phase phase that will invoke the
Pausable.pause() method on an object. |
class |
ResumePhase
Resume phase happens only alfter a pause phase.
|
Copyright © 2003–2018 MuleSoft, Inc.. All rights reserved.