|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UMODescriptor
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(UMOInboundRouterCollection 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 |
setModelName(String modelName)
Sets the Model name that this descriptor is registered within. |
void |
setName(String newName)
sets the identifier for the Mule UMO created from the descriptor |
void |
setNestedRouter(UMONestedRouterCollection router)
|
void |
setOutboundEndpoint(UMOEndpoint endpoint)
Deprecated. use setOutboundRouter() instead (see MULE-506) |
void |
setOutboundRouter(UMOOutboundRouterCollection 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(UMOResponseRouterCollection 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.lifecycle.Initialisable |
---|
initialise |
Method Detail |
---|
void addInterceptor(UMOInterceptor interceptor)
interceptor
- the interceptor to add.void setInterceptors(List interceptorList)
interceptorList
- A list of interceptors to associate.void setExceptionListener(ExceptionListener listener)
listener
- the exception strategy to use. If none has been set or
argument is null a defaultvoid 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
receiverUMOEndpoint
void setName(String newName)
newName
- the identifier for the Mule UMO created from the descriptorvoid setOutboundEndpoint(UMOEndpoint endpoint) throws MuleException
endpoint
- the outbound endpoint to use
MuleException
- if the Provider is not valid i.e. the proivder is a
receiverUMOEndpoint
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 createdvoid setVersion(String ver)
ver
- the version of the Mule descriptorvoid setImplementation(Object reference)
reference
- The String object referencevoid setInboundRouter(UMOInboundRouterCollection router)
router
- the inbound router for this componentUMOInboundRouterCollection
void setOutboundRouter(UMOOutboundRouterCollection router)
router
- the outbound router for this componentUMOOutboundRouterCollection
void setNestedRouter(UMONestedRouterCollection router)
void setResponseRouter(UMOResponseRouterCollection router)
router
- the response router for this componentUMOResponseRouterCollection
void setInboundTransformer(UMOTransformer transformer)
transformer
- the transformer to use.UMOTransformer
,
AbstractTransformer
void setOutboundTransformer(UMOTransformer transformer)
transformer
- the transformer to use.UMOTransformer
,
AbstractTransformer
void setSingleton(boolean singleton)
singleton
- true if this component is a singletonvoid setInitialState(String state)
state
- the initial state of this componentImmutableMuleDescriptor.INITIAL_STATE_STARTED
,
ImmutableMuleDescriptor.INITIAL_STATE_STOPPED
,
ImmutableMuleDescriptor.INITIAL_STATE_PAUSED
void setEncoding(String encoding)
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.void setModelName(String modelName)
modelName
- name of the model
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |