@Deprecated public interface Model extends Lifecycle, MuleContextAware, NameableObject, LifecycleStateEnabled
Model encapsulates and manages the runtime behaviour of a
Mule Server instance. It is responsible for maintaining the Service instances and
their configuration.PHASE_NAMEPHASE_NAMEPHASE_NAMEPHASE_NAME| Modifier and Type | Method and Description |
|---|---|
EntryPointResolverSet |
getEntryPointResolverSet()
Deprecated.
The entry point resolver is used to determine the method to be called on a
service when an event is received for it.
|
MessagingExceptionHandler |
getExceptionListener()
Deprecated.
The exception strategy to use by components managed by the model.
|
LifecycleAdapterFactory |
getLifecycleAdapterFactory()
Deprecated.
The lifecycle adapter is used by the model to translate Mule lifecycle event
to events that components registered with the model understand.
|
String |
getType()
Deprecated.
Returns the model type name.
|
void |
setEntryPointResolverSet(EntryPointResolverSet entryPointResolver)
Deprecated.
This will be used to build entry points on the components registered with the
model.
|
void |
setExceptionListener(MessagingExceptionHandler listener)
Deprecated.
The exception strategy to use by components managed by the model.
|
void |
setLifecycleAdapterFactory(LifecycleAdapterFactory lifecycleAdapterFactory)
Deprecated.
Sets the lifecycleAdapterFactory on the model.
|
initialisedisposesetMuleContextsetNamegetNamegetLifecycleStateString 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,
LifecycleAdaptervoid setLifecycleAdapterFactory(LifecycleAdapterFactory lifecycleAdapterFactory)
lifecycleAdapterFactory - The lifecycleAdapterFactory to set on this
model.LifecycleAdapterFactory,
LifecycleAdapterMessagingExceptionHandler getExceptionListener()
MessagingExceptionHandlervoid setExceptionListener(MessagingExceptionHandler listener)
listener - the default exception strategy for this model.MessagingExceptionHandlerCopyright © 2003–2015 MuleSoft, Inc.. All rights reserved.