public abstract class AbstractEndpoint extends Object implements ImmutableEndpoint
ImmutableMuleEndpoint describes a Provider in the Mule Server. A
endpoint is a grouping of an endpoint, an endpointUri and a transformer.| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.commons.logging.Log |
logger
logger used by this class
|
INITIAL_STATE_STARTED, INITIAL_STATE_STOPPED| Constructor and Description |
|---|
AbstractEndpoint(Connector connector,
EndpointURI endpointUri,
List transformers,
List responseTransformers,
String name,
Map properties,
TransactionConfig transactionConfig,
Filter filter,
boolean deleteUnacceptedMessages,
EndpointSecurityFilter securityFilter,
boolean synchronous,
boolean remoteSync,
int remoteSyncTimeout,
String initialState,
String endpointEncoding,
MuleContext muleContext,
ConnectionStrategy connectionStrategy) |
| Modifier and Type | Method and Description |
|---|---|
protected static boolean |
equal(Object a,
Object b) |
boolean |
equals(Object obj) |
ConnectionStrategy |
getConnectionStrategy()
Getter for property 'connectionStrategy'.
|
Connector |
getConnector()
The endpoint that will be used to send the message on.
|
String |
getEncoding()
Decides the encoding to be used for events received by this endpoint
|
EndpointURI |
getEndpointURI()
This specifess the communication endpointUri.
|
Filter |
getFilter()
The filter to apply to incoming messages.
|
String |
getInitialState()
Sets the state the endpoint will be loaded in.
|
MuleContext |
getMuleContext() |
String |
getName()
The name is the identifier for the endpoint
|
Map |
getProperties()
Returns any properties set on this endpoint
|
Object |
getProperty(Object key)
Retrieves a property set on the endpoint
|
String |
getProtocol()
The transport protocol name that the message endpoint communicates over.
|
int |
getRemoteSyncTimeout()
The timeout value for remoteSync invocations
|
List |
getResponseTransformers()
The transformers used when a response is returned from invoking this endpoint.
|
EndpointSecurityFilter |
getSecurityFilter()
Returns an EndpointSecurityFilter for this endpoint.
|
TransactionConfig |
getTransactionConfig()
Returns the transaction configuration for this endpoint
|
List |
getTransformers()
Transformers are responsible for transforming data when it is received or
sent by the UMO (depending on whether this endpoint is a receiver or not).
|
int |
hashCode() |
boolean |
isDeleteUnacceptedMessages()
If a filter is configured on this endpoint, this property will determine if
message that are not excepted by the filter are deleted
|
boolean |
isReadOnly() |
boolean |
isRemoteSync()
For certain providers that support the notion of a backchannel such as sockets
(outputStream) or Jms (ReplyTo) Mule can automatically wait for a response
from a backchannel when dispatching over these protocols.
|
boolean |
isSynchronous()
Determines if requests originating from this endpoint should be synchronous
i.e.
|
String |
toString() |
protected void |
updateTransformerEndpoints(List transformers) |
protected static final org.apache.commons.logging.Log logger
public AbstractEndpoint(Connector connector, EndpointURI endpointUri, List transformers, List responseTransformers, String name, Map properties, TransactionConfig transactionConfig, Filter filter, boolean deleteUnacceptedMessages, EndpointSecurityFilter securityFilter, boolean synchronous, boolean remoteSync, int remoteSyncTimeout, String initialState, String endpointEncoding, MuleContext muleContext, ConnectionStrategy connectionStrategy)
public EndpointURI getEndpointURI()
ImmutableEndpointgetEndpointURI in interface ImmutableEndpointpublic String getEncoding()
ImmutableEndpointgetEncoding in interface ImmutableEndpointpublic Connector getConnector()
ImmutableEndpointgetConnector in interface ImmutableEndpointpublic String getName()
ImmutableEndpointgetName in interface ImmutableEndpointpublic List getTransformers()
ImmutableEndpointgetTransformers in interface ImmutableEndpointpublic Map getProperties()
ImmutableEndpointgetProperties in interface ImmutableEndpointpublic boolean isReadOnly()
isReadOnly in interface ImmutableEndpointpublic String getProtocol()
ImmutableEndpointgetProtocol in interface ImmutableEndpointpublic TransactionConfig getTransactionConfig()
ImmutableEndpointgetTransactionConfig in interface ImmutableEndpointpublic Filter getFilter()
ImmutableEndpointgetFilter in interface ImmutableEndpointpublic boolean isDeleteUnacceptedMessages()
ImmutableEndpointisDeleteUnacceptedMessages in interface ImmutableEndpointprotected void updateTransformerEndpoints(List transformers)
public EndpointSecurityFilter getSecurityFilter()
getSecurityFilter in interface ImmutableEndpointEndpointSecurityFilterpublic boolean isSynchronous()
isSynchronous in interface ImmutableEndpointpublic boolean isRemoteSync()
isRemoteSync in interface ImmutableEndpointpublic int getRemoteSyncTimeout()
getRemoteSyncTimeout in interface ImmutableEndpointpublic String getInitialState()
getInitialState in interface ImmutableEndpointpublic List getResponseTransformers()
ImmutableEndpointgetResponseTransformers in interface ImmutableEndpointpublic Object getProperty(Object key)
ImmutableEndpointgetProperty in interface ImmutableEndpointkey - the name of the propertypublic MuleContext getMuleContext()
getMuleContext in interface ImmutableEndpointpublic ConnectionStrategy getConnectionStrategy()
getConnectionStrategy in interface ImmutableEndpointCopyright © 2003-2012 MuleSource, Inc.. All Rights Reserved.