public interface Model extends Lifecycle, MuleContextAware, NamedObject
Model
encapsulates and manages the runtime behaviour of a
Mule Server instance. It is responsible for maintaining the UMOs instances and
their configuration.PHASE_NAME
PHASE_NAME
PHASE_NAME
PHASE_NAME
Modifier and Type | Method and Description |
---|---|
EntryPointResolverSet |
getEntryPointResolverSet()
The entry point resolver is used to determine the method to be called on a
service when an event is received for it.
|
ExceptionListener |
getExceptionListener()
The exception strategy to use by components managed by the model.
|
LifecycleAdapterFactory |
getLifecycleAdapterFactory()
The lifecycle adapter is used by the model to translate Mule lifecycle event
to events that UMO components registered with the model understand.
|
String |
getType()
Returns the model type name.
|
void |
setEntryPointResolverSet(EntryPointResolverSet entryPointResolver)
This will be used to build entry points on the components registered with the
model.
|
void |
setExceptionListener(ExceptionListener listener)
The exception strategy to use by components managed by the model.
|
void |
setLifecycleAdapterFactory(LifecycleAdapterFactory lifecycleAdapterFactory)
Sets the lifecycleAdapterFactory on the model.
|
initialise
dispose
setMuleContext
getName, setName
String getType()
EntryPointResolverSet getEntryPointResolverSet()
void setEntryPointResolverSet(EntryPointResolverSet entryPointResolver)
entryPointResolver
- The entryPointResolver to set. This will be used to
build entry points on the components registered with the model.LifecycleAdapterFactory getLifecycleAdapterFactory()
LifecycleAdapterFactory
is used by the model to instanciate
LifecycleAdapters.LifecycleAdapterFactory
,
LifecycleAdapter
void setLifecycleAdapterFactory(LifecycleAdapterFactory lifecycleAdapterFactory)
lifecycleAdapterFactory
- The lifecycleAdapterFactory to set on this
model.LifecycleAdapterFactory
,
LifecycleAdapter
ExceptionListener getExceptionListener()
ExceptionListener
void setExceptionListener(ExceptionListener listener)
listener
- the default exception strategy for this model.ExceptionListener
Copyright © 2003–2013 MuleSource, Inc.. All rights reserved.