public interface RegistryLifecycleHelpers
Modifier and Type | Method and Description |
---|---|
void |
applyCompletedPhases(Object object)
Successively applies all completed lifecycle phase to an object.
|
void |
applyPhase(Object object,
String fromPhase,
String toPhase)
Applies lifecycle phase to an object independent of the current lifecycle phase.
|
void applyPhase(Object object, String fromPhase, String toPhase) throws LifecycleException
object
- the object to apply lifecycle tofromPhase
- the lifecycle phase the object is currently in. Must not be null.toPhase
- the lifecycle phase to transition the object to. Must not be null.LifecycleException
- if there is an exception while invoking lifecycle on the objectvoid applyCompletedPhases(Object object) throws LifecycleException
object
- the object to which the lifecycle should be appliedLifecycleException
- if there is an error while applying lifecycle to the objectCopyright © 2003–2016 MuleSoft, Inc.. All rights reserved.