|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mule.impl.ImmutableMuleDescriptor
MuleDescriptor
describes all the properties for a Mule UMO. New Mule UMOs
can be initialised as needed from their descriptor.
Field Summary | |
protected boolean |
containerManaged
Determines whether the component described by this descriptor is hosted in a container. |
protected UMOExceptionStrategy |
exceptionStrategy
holds the exception stategy for this UMO |
static java.lang.String |
IMPLEMENTATION_TYPE_LOCAL
Implementation type can be prepended to the implementation string to control how the implementation is loaded. |
protected java.lang.Object |
implementationReference
The implementationReference used to create the Object UMO instance Can either be a string such as a container reference or classname or can be an instance of the implementation |
protected UMOEndpoint |
inboundEndpoint
|
protected UMOInboundMessageRouter |
inboundRouter
|
protected UMOTransformer |
inboundTransformer
The transformer for the default receive endpoint |
protected java.util.List |
initialisationCallbacks
|
protected java.util.List |
intecerptorList
A list of UMOinteceptors that will be executed when the Mule UMO executed |
protected static java.lang.String |
MULE_PROPERTY_DOT_PROPERTIES
Property that allows for a property file to be used to load properties instead of listing them directly in the mule-configuration file |
protected java.lang.String |
name
The descriptor name |
protected UMOEndpoint |
outboundEndpoint
|
protected UMOOutboundMessageRouter |
outboundRouter
|
protected UMOTransformer |
outboundTransformer
The transformer for the default send Endpoint |
protected PoolingProfile |
poolingProfile
the pooling configuration used when initialising the component described by this descriptor. |
protected java.util.HashMap |
properties
The properties for the Mule UMO. |
protected QueueProfile |
queueProfile
The queuing profile for events received for this component |
protected UMOResponseMessageRouter |
responseRouter
|
protected ThreadingProfile |
threadingProfile
The threading profile to use for this component. |
protected java.lang.String |
version
The descriptors version |
Constructor Summary | |
protected |
ImmutableMuleDescriptor()
Default constructor used by mutable versions of this class to provide defaults for certain properties |
|
ImmutableMuleDescriptor(ImmutableMuleDescriptor descriptor)
Default constructor. |
Method Summary | |
void |
fireInitialisationCallbacks(java.lang.Object component)
|
UMOExceptionStrategy |
getExceptionStrategy()
The exception strategy to use to handle exceptions in the Mule UMO. |
java.lang.Object |
getImplementation()
String used to instansiate the object, this can be a class name or a reference to an object in a container |
java.lang.Class |
getImplementationClass()
Class used to instansiate the object, this can be a class name or a reference to an object in a container |
protected java.lang.Class |
getImplementationForReference(java.lang.String reference)
A helper method that will resolved a component for a given reference id. |
UMOEndpoint |
getInboundEndpoint()
The inbound Provider to use when receiveing an event. |
UMOInboundMessageRouter |
getInboundRouter()
Inbound Routers control how events are received by a component. |
UMOTransformer |
getInboundTransformer()
The transformer to use when receiving events or data. |
java.util.List |
getInterceptors()
Retuens a list of interceptor objects that will be executed before/after the Mule UMO has executed |
java.lang.String |
getName()
Gets the identifier for the Mule UMO created from the descriptor |
UMOEndpoint |
getOutboundEndpoint()
The outbound Provider to use when sending an event. |
UMOOutboundMessageRouter |
getOutboundRouter()
Outbound Routers control how events are published by a component once. |
UMOTransformer |
getOutboundTransformer()
The transformer to use when sending events or data. |
PoolingProfile |
getPoolingProfile()
|
java.util.HashMap |
getProperties()
Returns any properties configured on this descriptor. |
QueueProfile |
getQueueProfile()
|
UMOResponseMessageRouter |
getResponseRouter()
Response Routers control how events are returned in a request/response call. |
ThreadingProfile |
getThreadingProfile()
The threading profile used but the UMO when managing a component. |
java.lang.String |
getVersion()
The version on the Mule UMO. |
boolean |
isContainerManaged()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String IMPLEMENTATION_TYPE_LOCAL
protected static final java.lang.String MULE_PROPERTY_DOT_PROPERTIES
protected UMOExceptionStrategy exceptionStrategy
protected java.lang.Object implementationReference
protected UMOTransformer inboundTransformer
protected java.lang.String name
protected UMOTransformer outboundTransformer
protected java.util.HashMap properties
protected java.lang.String version
protected java.util.List intecerptorList
protected UMOInboundMessageRouter inboundRouter
protected UMOOutboundMessageRouter outboundRouter
protected UMOResponseMessageRouter responseRouter
protected UMOEndpoint inboundEndpoint
protected UMOEndpoint outboundEndpoint
protected ThreadingProfile threadingProfile
protected PoolingProfile poolingProfile
protected QueueProfile queueProfile
protected boolean containerManaged
protected java.util.List initialisationCallbacks
Constructor Detail |
public ImmutableMuleDescriptor(ImmutableMuleDescriptor descriptor)
MuleConfiguration
protected ImmutableMuleDescriptor()
Method Detail |
public UMOExceptionStrategy getExceptionStrategy()
UMOImmutableDescriptor
getExceptionStrategy
in interface UMOImmutableDescriptor
public UMOTransformer getInboundTransformer()
UMOImmutableDescriptor
getInboundTransformer
in interface UMOImmutableDescriptor
public java.lang.String getName()
UMOImmutableDescriptor
getName
in interface UMOImmutableDescriptor
public UMOTransformer getOutboundTransformer()
UMOImmutableDescriptor
getOutboundTransformer
in interface UMOImmutableDescriptor
public java.util.HashMap getProperties()
UMOImmutableDescriptor
getProperties
in interface UMOImmutableDescriptor
public java.lang.String getVersion()
UMOImmutableDescriptor
getVersion
in interface UMOImmutableDescriptor
public java.util.List getInterceptors()
UMOImmutableDescriptor
getInterceptors
in interface UMOImmutableDescriptor
public java.lang.String toString()
public java.lang.Object getImplementation()
UMOImmutableDescriptor
getImplementation
in interface UMOImmutableDescriptor
public UMOInboundMessageRouter getInboundRouter()
UMOImmutableDescriptor
getInboundRouter
in interface UMOImmutableDescriptor
UMOInboundMessageRouter
public UMOOutboundMessageRouter getOutboundRouter()
UMOImmutableDescriptor
getOutboundRouter
in interface UMOImmutableDescriptor
UMOOutboundMessageRouter
public ThreadingProfile getThreadingProfile()
public PoolingProfile getPoolingProfile()
public QueueProfile getQueueProfile()
public boolean isContainerManaged()
public java.lang.Class getImplementationClass() throws UMOException
UMOImmutableDescriptor
getImplementationClass
in interface UMOImmutableDescriptor
UMOException
protected java.lang.Class getImplementationForReference(java.lang.String reference) throws ComponentNotFoundException, ComponentResolverException
reference
- the reference to use when resolving the component
ComponentNotFoundException
ComponentResolverException
public void fireInitialisationCallbacks(java.lang.Object component) throws InitialisationException
InitialisationException
public UMOEndpoint getInboundEndpoint()
getInboundEndpoint
in interface UMOImmutableDescriptor
UMOEndpoint
public UMOEndpoint getOutboundEndpoint()
getOutboundEndpoint
in interface UMOImmutableDescriptor
UMOEndpoint
public UMOResponseMessageRouter getResponseRouter()
UMOImmutableDescriptor
getResponseRouter
in interface UMOImmutableDescriptor
UMOResponseMessageRouter
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |