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