|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
UMODescriptor describes all the properties for a Mule UMO. New Mule
Managed components can be initialised as needed from their descriptor.
| Method Summary | |
void |
addInterceptor(UMOInterceptor interceptor)
Interceptors are executable objects that can be chained together. |
void |
setContainer(String containerName)
Sets the name of the contaier where the object for this descriptor resides. |
void |
setEncoding(String encoding)
|
void |
setExceptionListener(ExceptionListener listener)
The exception strategy to use to handle exceptions in the Mule UMO. |
void |
setImplementation(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 |
setInboundEndpoint(UMOEndpoint endpoint)
Deprecated. use setInboundRouter() instead (see MULE-506) |
void |
setInboundRouter(UMOInboundMessageRouter router)
Inbound Routers control how events are received by a component. |
void |
setInboundTransformer(UMOTransformer transformer)
Deprecated. use setInboundRouter() instead (see MULE-506) |
void |
setInitialState(String state)
Sets the initial state of this component |
void |
setInterceptors(List interceptorList)
Interceptors are executable objects that can be chained together. |
void |
setName(String newName)
sets the identifier for the Mule UMO created from the descriptor |
void |
setOutboundEndpoint(UMOEndpoint endpoint)
Deprecated. use setOutboundRouter() instead (see MULE-506) |
void |
setOutboundRouter(UMOOutboundMessageRouter router)
Outbound Routers control how events are published by a component once. |
void |
setOutboundTransformer(UMOTransformer transformer)
Deprecated. use setOutboundRouter() instead (see MULE-506) |
void |
setProperties(Map props)
|
void |
setResponseRouter(UMOResponseMessageRouter router)
Response Routers control how events are returned in a request/response call. |
void |
setSingleton(boolean singleton)
Determines if only a single instance of this component is created. |
void |
setVersion(String ver)
The version on the Mule UMO. |
| Methods inherited from interface org.mule.umo.UMOImmutableDescriptor |
getContainer, getEncoding, getExceptionListener, getImplementation, getImplementationClass, getInboundEndpoint, getInboundRouter, getInboundTransformer, getInitialState, getInterceptors, getName, getOutboundEndpoint, getOutboundRouter, getOutboundTransformer, getProperties, getResponseRouter, getResponseTransformer, getVersion, isSingleton |
| Methods inherited from interface org.mule.umo.lifecycle.Initialisable |
initialise |
| Method Detail |
public void addInterceptor(UMOInterceptor interceptor)
interceptor - the interceptor to add.public void setInterceptors(List interceptorList)
interceptorList - A list of interceptors to associate.public void setExceptionListener(ExceptionListener listener)
listener - the exception strategy to use. If none has been set or
argument is null a default
public void setInboundEndpoint(UMOEndpoint endpoint)
throws MuleException
endpoint - the inbound endpoint to use
MuleException - if the Provider is not valid i.e. the proivder is not a
receiverUMOEndpointpublic void setName(String newName)
newName - the identifier for the Mule UMO created from the descriptor
public void setOutboundEndpoint(UMOEndpoint endpoint)
throws MuleException
endpoint - the outbound endpoint to use
MuleException - if the Provider is not valid i.e. the proivder is a
receiverUMOEndpointpublic void setProperties(Map props)
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(String ver)
ver - the version of the Mule descriptorpublic void setImplementation(Object reference)
reference - The String object referencepublic void setInboundRouter(UMOInboundMessageRouter router)
router - the inbound router for this componentUMOInboundMessageRouterpublic void setOutboundRouter(UMOOutboundMessageRouter router)
router - the outbound router for this componentUMOOutboundMessageRouterpublic void setResponseRouter(UMOResponseMessageRouter router)
router - the response router for this componentUMOResponseMessageRouterpublic void setInboundTransformer(UMOTransformer transformer)
transformer - the transformer to use.UMOTransformer,
AbstractTransformerpublic void setOutboundTransformer(UMOTransformer transformer)
transformer - the transformer to use.UMOTransformer,
AbstractTransformerpublic void setSingleton(boolean singleton)
singleton - true if this component is a singletonpublic void setInitialState(String state)
state - the initial state of this componentpublic void setEncoding(String encoding)
public void setContainer(String containerName)
containerName - the container name, or null if it is not known - in which
case each container will be queried for the component
implementation.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||