|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mule.impl.ImmutableMuleDescriptor
org.mule.impl.MuleDescriptor
MuleDescriptor
describes all the properties for a Mule UMO. New Mule UMOs
can be initialised as needed from their descriptor.
Field Summary | |
static java.lang.String |
DEFAULT_INSTANCE_REF_NAME
|
Constructor Summary | |
MuleDescriptor()
Default constructor. |
|
MuleDescriptor(MuleDescriptor descriptor)
|
|
MuleDescriptor(java.lang.String name)
|
Method Summary | |
void |
addInitialisationCallback(InitialisationCallback callback)
|
void |
addInterceptor(UMOInterceptor inteceptor)
Interceptors are executable objects that can be chained together. |
void |
initialise()
|
void |
setContainerManaged(boolean value)
|
void |
setExceptionListener(java.beans.ExceptionListener listener)
The exception strategy to use to handle exceptions in the Mule UMO. |
void |
setImplementation(java.lang.Object reference)
The String used to instanciate create the object, this can be a FQ class name or a reference to an object in a configured container |
void |
setImplementationInstance(java.lang.Object instance)
|
void |
setInboundEndpoint(UMOEndpoint endpoint)
The inbound endpointUri to use when receiveing an event. |
void |
setInboundRouter(UMOInboundMessageRouter routerList)
Inbound Routers control how events are received by a component. |
void |
setInboundTransformer(UMOTransformer transformer)
|
void |
setInterceptors(java.util.List inteceptorList)
Interceptors are executable objects that can be chained together. |
void |
setName(java.lang.String newName)
sets the identifier for the Mule UMO created from the descriptor |
void |
setOutboundEndpoint(UMOEndpoint endpoint)
The outbound Provider to use when sending an event. |
void |
setOutboundRouter(UMOOutboundMessageRouter routerList)
Outbound Routers control how events are published by a component once. |
void |
setOutboundTransformer(UMOTransformer transformer)
The transformer to use when sending events or data. |
void |
setPoolingProfile(PoolingProfile poolingProfile)
|
void |
setProperties(java.util.HashMap props)
|
void |
setQueueProfile(QueueProfile queueProfile)
|
void |
setResponseRouter(UMOResponseMessageRouter router)
Response Routers control how events are returned in a request/response call. |
void |
setThreadingProfile(ThreadingProfile threadingProfile)
|
void |
setVersion(java.lang.String ver)
The version on the Mule UMO. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.mule.umo.UMOImmutableDescriptor |
getExceptionListener, getImplementation, getImplementationClass, getInboundEndpoint, getInboundRouter, getInboundTransformer, getInterceptors, getName, getOutboundEndpoint, getOutboundRouter, getOutboundTransformer, getProperties, getResponseRouter, getVersion |
Field Detail |
public static final java.lang.String DEFAULT_INSTANCE_REF_NAME
Constructor Detail |
public MuleDescriptor(java.lang.String name)
public MuleDescriptor(MuleDescriptor descriptor)
public MuleDescriptor()
MuleConfiguration
Method Detail |
public void setThreadingProfile(ThreadingProfile threadingProfile)
public void setExceptionListener(java.beans.ExceptionListener listener)
UMODescriptor
setExceptionListener
in interface UMODescriptor
listener
- the exception strategy to use. If none has been set or argument is null a defaultpublic void setName(java.lang.String newName)
UMODescriptor
setName
in interface UMODescriptor
newName
- the identifier for the Mule UMO created from the descriptorpublic void setOutboundTransformer(UMOTransformer transformer)
UMODescriptor
setOutboundTransformer
in interface UMODescriptor
transformer
- the transformer to use.UMOTransformer
,
AbstractTransformer
public void setProperties(java.util.HashMap props)
setProperties
in interface UMODescriptor
props
- the properties for the descriptor. These will be passed to the
UMO when it's initialise method is called or set as bean properties whe the UMO is createdpublic void setVersion(java.lang.String ver)
UMODescriptor
setVersion
in interface UMODescriptor
ver
- the version of the Mule descriptorpublic void setInboundEndpoint(UMOEndpoint endpoint) throws MuleException
UMODescriptor
setInboundEndpoint
in interface UMODescriptor
endpoint
- the inbound endpoint to use
MuleException
- if the Provider is not valid i.e. the proivder
is not a receiverUMOEndpoint
public void setOutboundEndpoint(UMOEndpoint endpoint) throws MuleException
UMODescriptor
setOutboundEndpoint
in interface UMODescriptor
endpoint
- the outbound endpoint to use
MuleException
- if the Provider is not valid i.e. the proivder
is a receiverUMOEndpoint
public void setInboundTransformer(UMOTransformer transformer)
setInboundTransformer
in interface UMODescriptor
transformer
- the transformer to use.UMOTransformer
,
AbstractTransformer
public void addInterceptor(UMOInterceptor inteceptor)
UMODescriptor
addInterceptor
in interface UMODescriptor
inteceptor
- the interceptor to add.public void setInterceptors(java.util.List inteceptorList)
UMODescriptor
setInterceptors
in interface UMODescriptor
inteceptorList
- A list of interceptors to associate.public void setPoolingProfile(PoolingProfile poolingProfile)
public void setQueueProfile(QueueProfile queueProfile)
public void setImplementation(java.lang.Object reference)
UMODescriptor
setImplementation
in interface UMODescriptor
reference
- The String object referencepublic void setImplementationInstance(java.lang.Object instance)
public void setInboundRouter(UMOInboundMessageRouter routerList)
UMODescriptor
setInboundRouter
in interface UMODescriptor
routerList
- the inbound router for this componentUMOInboundMessageRouter
public void setOutboundRouter(UMOOutboundMessageRouter routerList)
UMODescriptor
setOutboundRouter
in interface UMODescriptor
routerList
- the outbound router for this componentUMOOutboundMessageRouter
public void setContainerManaged(boolean value)
public void initialise() throws InitialisationException
InitialisationException
public void addInitialisationCallback(InitialisationCallback callback)
public void setResponseRouter(UMOResponseMessageRouter router)
setResponseRouter
in interface UMODescriptor
router
- the response router for this componentUMOResponseMessageRouter
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |