public class MuleContextStopPhase extends DefaultLifecyclePhase
Stoppable.stop()
with initiate this phase via the LifecycleManager
.
The MuleContextDisposePhase defines the lifecycle behaviour when the Mule context is stopped. The MuleContext is associated
with one or more registries that inherit the lifecycle of the MuleContext.
This phase is responsible for disposing objects. Any object that implements Stoppable
will
have its Stoppable.stop()
()} method called. Objects are initialised in the order based on type:
Service
, Model
, Agent
, Connector
, followed
by any other object that implements Stoppable
.MuleContext
,
LifecycleManager
,
Stoppable
logger
ALL_PHASES
Constructor and Description |
---|
MuleContextStopPhase() |
MuleContextStopPhase(Class<?>[] ignorredObjects) |
addOrderedLifecycleObject, applyLifecycle, getIgnoredObjectTypes, getLifecycleClass, getName, getOppositeLifecyclePhase, getOrderedLifecycleObjects, getSupportedPhases, ignoreType, isPhaseSupported, registerSupportedPhase, removeOrderedLifecycleObject, setIgnoredObjectTypes, setLifecycleClass, setMuleContext, setOrderedLifecycleObjects, setSupportedPhases, sortLifecycleInstances
public MuleContextStopPhase()
public MuleContextStopPhase(Class<?>[] ignorredObjects)
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.