|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mule.impl.ImmutableMuleEndpoint
org.mule.impl.endpoint.MuleEndpoint
MuleEndpoint
describes a Provider in the Mule Server. A endpoint is
a grouping of an endpoint, an endpointUri and a transformer.
Field Summary |
Fields inherited from class org.mule.impl.ImmutableMuleEndpoint |
connector, deleteUnacceptedMessages, endpointUri, filter, initialised, logger, name, properties, securityFilter, synchronous, transactionConfig, transformer, type |
Fields inherited from interface org.mule.umo.endpoint.UMOImmutableEndpoint |
ENDPOINT_TYPE_RECEIVER, ENDPOINT_TYPE_RESPONSE, ENDPOINT_TYPE_SENDER, ENDPOINT_TYPE_SENDER_AND_RECEIVER |
Constructor Summary | |
MuleEndpoint()
Default constructor This is required right now for the Mule digester to set the properties through the classes mutators |
|
MuleEndpoint(java.lang.String endpoint,
boolean receiver)
|
|
MuleEndpoint(java.lang.String name,
UMOEndpointURI endpointUri,
UMOConnector connector,
UMOTransformer transformer,
java.lang.String type,
java.util.Map properties)
|
|
MuleEndpoint(UMOImmutableEndpoint endpoint)
|
Method Summary | |
UMOImmutableEndpoint |
getImmutableProvider()
Creates a read-only copy of the endpoint |
boolean |
isReadOnly()
|
void |
setConnector(UMOConnector connector)
The endpoint that will be used to send the message on. |
void |
setDeleteUnacceptedMessages(boolean delete)
If a filter is configured on this endpoint, this property will determine if message that are not excepted by the filter are deleted |
void |
setEndpointURI(UMOEndpointURI endpointUri)
This specifes the communication endpointUri. |
void |
setFilter(UMOFilter filter)
The filter to apply to incoming messages |
void |
setName(java.lang.String name)
|
void |
setProperties(java.util.Map props)
|
void |
setSecurityFilter(UMOEndpointSecurityFilter filter)
Sets an UMOEndpointSecurityFilter for this endpoint. |
void |
setSynchronous(boolean synchronous)
Determines if requests originating from this endpoint should be synchronous i.e. |
void |
setTransactionConfig(UMOTransactionConfig config)
Sets the Transaction configuration for the endpoint |
void |
setTransformer(UMOTransformer trans)
The transformer is responsible for transforming data when it is received or sent by the UMO (depending on whether this endpoint is a receiver or not). |
void |
setType(java.lang.String type)
Determines whether the message endpoint is a sender or receiver or both. |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.mule.umo.endpoint.UMOEndpoint |
getTransactionConfig |
Methods inherited from interface org.mule.umo.endpoint.UMOImmutableEndpoint |
canReceive, canSend, clone, getConnector, getEndpointURI, getFilter, getName, getProperties, getProtocol, getSecurityFilter, getTransformer, getType, isDeleteUnacceptedMessages, isSynchronous |
Methods inherited from interface org.mule.umo.lifecycle.Initialisable |
initialise |
Constructor Detail |
public MuleEndpoint()
public MuleEndpoint(java.lang.String name, UMOEndpointURI endpointUri, UMOConnector connector, UMOTransformer transformer, java.lang.String type, java.util.Map properties)
public MuleEndpoint(UMOImmutableEndpoint endpoint)
public MuleEndpoint(java.lang.String endpoint, boolean receiver) throws UMOException
Method Detail |
public void setEndpointURI(UMOEndpointURI endpointUri) throws EndpointException
UMOEndpoint
setEndpointURI
in interface UMOEndpoint
endpointUri
- the endpointUri on which the Endpoint sends or
receives data
EndpointException
- thrown if the EndpointUri cannot be processed by the
Endpointpublic void setType(java.lang.String type)
UMOEndpoint
setType
in interface UMOEndpoint
type
- the endpoint typepublic void setConnector(UMOConnector connector)
UMOEndpoint
setConnector
in interface UMOEndpoint
connector
- the endpoint to associate with the endpointpublic void setName(java.lang.String name)
setName
in interface UMOEndpoint
name
- the name to identify the endpointpublic void setTransformer(UMOTransformer trans)
UMOEndpoint
setTransformer
in interface UMOEndpoint
trans
- the transformer to use when receiving or sending datapublic void setProperties(java.util.Map props)
setProperties
in interface UMOEndpoint
props
- properties for this endpointpublic boolean isReadOnly()
isReadOnly
in interface UMOImmutableEndpoint
isReadOnly
in class ImmutableMuleEndpoint
public UMOImmutableEndpoint getImmutableProvider()
public void setTransactionConfig(UMOTransactionConfig config)
UMOEndpoint
setTransactionConfig
in interface UMOEndpoint
config
- the transaction config to use by this endpointpublic void setFilter(UMOFilter filter)
UMOEndpoint
setFilter
in interface UMOEndpoint
filter
- the filter to usepublic void setDeleteUnacceptedMessages(boolean delete)
setDeleteUnacceptedMessages
in interface UMOEndpoint
delete
- if message should be deleted, false otherwisepublic void setSecurityFilter(UMOEndpointSecurityFilter filter)
setSecurityFilter
in interface UMOEndpoint
filter
- the UMOSecurityFilter responsible for authenticating
message flow via this endpoint.UMOEndpointSecurityFilter
public void setSynchronous(boolean synchronous)
setSynchronous
in interface UMOEndpoint
synchronous
- whether requests on this endpoint should execute in a single
thread. This property is only used when the endpoint is of type 'receiver'
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |