|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.mule.endpoint.AbstractEndpoint
public abstract class AbstractEndpoint
ImmutableMuleEndpoint
describes a Provider in the Mule Server. A
endpoint is a grouping of an endpoint, an endpointUri and a transformer.
Field Summary | |
---|---|
protected static Log |
logger
logger used by this class |
protected RetryPolicyTemplate |
retryPolicyTemplate
|
Fields inherited from interface org.mule.api.endpoint.ImmutableEndpoint |
---|
INITIAL_STATE_STARTED, INITIAL_STATE_STOPPED |
Constructor Summary | |
---|---|
AbstractEndpoint(Connector connector,
EndpointURI endpointUri,
List transformers,
List responseTransformers,
String name,
Map properties,
TransactionConfig transactionConfig,
Filter filter,
boolean deleteUnacceptedMessages,
EndpointSecurityFilter securityFilter,
boolean synchronous,
int responseTimeout,
String initialState,
String endpointEncoding,
String endpointBuilderName,
MuleContext muleContext,
RetryPolicyTemplate retryPolicyTemplate)
|
Method Summary | |
---|---|
protected static boolean |
equal(Object a,
Object b)
|
boolean |
equals(Object obj)
|
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 |
String |
getEndpointBuilderName()
The name of the endpoint builder used to create 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 |
getResponseTimeout()
The timeout value for remoteSync invocations |
List |
getResponseTransformers()
The transformers used when a response is returned from invoking this endpoint. |
RetryPolicyTemplate |
getRetryPolicyTemplate()
The retry policy on the endpoint configures how retries are handled. |
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 component (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 |
isSynchronous()
Determines if requests originating from this endpoint should be synchronous i.e. |
String |
toString()
|
protected void |
updateTransformerEndpoints(List transformers)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected static final Log logger
protected RetryPolicyTemplate retryPolicyTemplate
Constructor Detail |
---|
public AbstractEndpoint(Connector connector, EndpointURI endpointUri, List transformers, List responseTransformers, String name, Map properties, TransactionConfig transactionConfig, Filter filter, boolean deleteUnacceptedMessages, EndpointSecurityFilter securityFilter, boolean synchronous, int responseTimeout, String initialState, String endpointEncoding, String endpointBuilderName, MuleContext muleContext, RetryPolicyTemplate retryPolicyTemplate)
Method Detail |
---|
public EndpointURI getEndpointURI()
ImmutableEndpoint
getEndpointURI
in interface ImmutableEndpoint
public String getEncoding()
ImmutableEndpoint
getEncoding
in interface ImmutableEndpoint
public Connector getConnector()
ImmutableEndpoint
getConnector
in interface ImmutableEndpoint
public String getName()
ImmutableEndpoint
getName
in interface ImmutableEndpoint
public List getTransformers()
ImmutableEndpoint
getTransformers
in interface ImmutableEndpoint
public Map getProperties()
ImmutableEndpoint
getProperties
in interface ImmutableEndpoint
public boolean isReadOnly()
isReadOnly
in interface ImmutableEndpoint
public String toString()
toString
in class Object
public String getProtocol()
ImmutableEndpoint
getProtocol
in interface ImmutableEndpoint
public TransactionConfig getTransactionConfig()
ImmutableEndpoint
getTransactionConfig
in interface ImmutableEndpoint
protected static boolean equal(Object a, Object b)
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
public Filter getFilter()
ImmutableEndpoint
getFilter
in interface ImmutableEndpoint
public boolean isDeleteUnacceptedMessages()
ImmutableEndpoint
isDeleteUnacceptedMessages
in interface ImmutableEndpoint
protected void updateTransformerEndpoints(List transformers)
public EndpointSecurityFilter getSecurityFilter()
getSecurityFilter
in interface ImmutableEndpoint
EndpointSecurityFilter
public boolean isSynchronous()
isSynchronous
in interface ImmutableEndpoint
public int getResponseTimeout()
getResponseTimeout
in interface ImmutableEndpoint
public String getInitialState()
getInitialState
in interface ImmutableEndpoint
public List getResponseTransformers()
ImmutableEndpoint
getResponseTransformers
in interface ImmutableEndpoint
public Object getProperty(Object key)
ImmutableEndpoint
getProperty
in interface ImmutableEndpoint
key
- the name of the property
public MuleContext getMuleContext()
getMuleContext
in interface ImmutableEndpoint
public RetryPolicyTemplate getRetryPolicyTemplate()
ImmutableEndpoint
getRetryPolicyTemplate
in interface ImmutableEndpoint
public String getEndpointBuilderName()
ImmutableEndpoint
getEndpointBuilderName
in interface ImmutableEndpoint
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |