|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.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 |
Fields inherited from interface org.mule.api.lifecycle.Disposable |
---|
PHASE_NAME |
Constructor Summary | |
---|---|
AbstractEndpoint(Connector connector,
EndpointURI endpointUri,
java.lang.String name,
java.util.Map properties,
TransactionConfig transactionConfig,
boolean deleteUnacceptedMessages,
MessageExchangePattern messageExchangePattern,
int responseTimeout,
java.lang.String initialState,
java.lang.String endpointEncoding,
java.lang.String endpointBuilderName,
MuleContext muleContext,
RetryPolicyTemplate retryPolicyTemplate,
EndpointMessageProcessorChainFactory messageProcessorsFactory,
java.util.List<MessageProcessor> messageProcessors,
java.util.List<MessageProcessor> responseMessageProcessors,
boolean disableTransportTransformer,
java.lang.String endpointMimeType)
|
Method Summary | |
---|---|
protected abstract MessageProcessor |
createMessageProcessorChain(FlowConstruct flowContruct)
|
void |
dispose()
A lifecycle method where implementor should free up any resources. |
protected static boolean |
equal(java.lang.Object a,
java.lang.Object b)
|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getAddress()
This returns the address of the endpoint. |
Connector |
getConnector()
The endpoint that will be used to send the message on. |
java.lang.String |
getEncoding()
Decides the encoding to be used for events received by this endpoint |
java.lang.String |
getEndpointBuilderName()
The name of the endpoint builder used to create this endpoint. |
EndpointURI |
getEndpointURI()
This specifess the communication endpointUri. |
MessageExchangePattern |
getExchangePattern()
|
Filter |
getFilter()
The filter to apply to incoming messages. |
java.lang.String |
getInitialState()
Sets the state the endpoint will be loaded in. |
MessageProcessor |
getMessageProcessorChain(FlowConstruct flowContruct)
|
java.util.List<MessageProcessor> |
getMessageProcessors()
|
EndpointMessageProcessorChainFactory |
getMessageProcessorsFactory()
|
java.lang.String |
getMimeType()
Return the mime type defined for the endpoint, if any |
MuleContext |
getMuleContext()
|
java.lang.String |
getName()
The name is the identifier for the endpoint |
java.util.Map |
getProperties()
Returns any properties set on this endpoint |
java.lang.Object |
getProperty(java.lang.Object key)
Retrieves a property set on the endpoint |
java.lang.String |
getProtocol()
The transport protocol name that the message endpoint communicates over. |
java.util.List<MessageProcessor> |
getResponseMessageProcessors()
|
int |
getResponseTimeout()
The timeout value for remoteSync invocations |
java.util.List<Transformer> |
getResponseTransformers()
Deprecated. use getResponseMessageProcessors() |
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 |
java.util.List<Transformer> |
getTransformers()
Deprecated. use getMessageProcessors() |
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 |
isDisableTransportTransformer()
|
boolean |
isProtocolSupported(java.lang.String protocol)
|
boolean |
isReadOnly()
|
java.lang.String |
toString()
|
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, java.lang.String name, java.util.Map properties, TransactionConfig transactionConfig, boolean deleteUnacceptedMessages, MessageExchangePattern messageExchangePattern, int responseTimeout, java.lang.String initialState, java.lang.String endpointEncoding, java.lang.String endpointBuilderName, MuleContext muleContext, RetryPolicyTemplate retryPolicyTemplate, EndpointMessageProcessorChainFactory messageProcessorsFactory, java.util.List<MessageProcessor> messageProcessors, java.util.List<MessageProcessor> responseMessageProcessors, boolean disableTransportTransformer, java.lang.String endpointMimeType)
Method Detail |
---|
public EndpointURI getEndpointURI()
ImmutableEndpoint
getEndpointURI
in interface ImmutableEndpoint
public java.lang.String getAddress()
ImmutableEndpoint
getAddress
in interface ImmutableEndpoint
public java.lang.String getEncoding()
ImmutableEndpoint
getEncoding
in interface ImmutableEndpoint
public java.lang.String getMimeType()
ImmutableEndpoint
getMimeType
in interface ImmutableEndpoint
public Connector getConnector()
ImmutableEndpoint
getConnector
in interface ImmutableEndpoint
public java.lang.String getName()
ImmutableEndpoint
getName
in interface ImmutableEndpoint
public EndpointMessageProcessorChainFactory getMessageProcessorsFactory()
getMessageProcessorsFactory
in interface ImmutableEndpoint
public java.util.List<MessageProcessor> getMessageProcessors()
getMessageProcessors
in interface ImmutableEndpoint
public java.util.List<MessageProcessor> getResponseMessageProcessors()
getResponseMessageProcessors
in interface ImmutableEndpoint
public java.util.List<Transformer> getTransformers()
ImmutableEndpoint
getTransformers
in interface ImmutableEndpoint
public java.util.Map getProperties()
ImmutableEndpoint
getProperties
in interface ImmutableEndpoint
public boolean isReadOnly()
isReadOnly
in interface ImmutableEndpoint
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getProtocol()
ImmutableEndpoint
getProtocol
in interface ImmutableEndpoint
public TransactionConfig getTransactionConfig()
ImmutableEndpoint
getTransactionConfig
in interface ImmutableEndpoint
protected static boolean equal(java.lang.Object a, java.lang.Object b)
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public Filter getFilter()
ImmutableEndpoint
getFilter
in interface ImmutableEndpoint
public boolean isDeleteUnacceptedMessages()
ImmutableEndpoint
isDeleteUnacceptedMessages
in interface ImmutableEndpoint
public EndpointSecurityFilter getSecurityFilter()
getSecurityFilter
in interface ImmutableEndpoint
EndpointSecurityFilter
public MessageExchangePattern getExchangePattern()
getExchangePattern
in interface ImmutableEndpoint
public int getResponseTimeout()
getResponseTimeout
in interface ImmutableEndpoint
public java.lang.String getInitialState()
getInitialState
in interface ImmutableEndpoint
public java.util.List<Transformer> getResponseTransformers()
ImmutableEndpoint
getResponseTransformers
in interface ImmutableEndpoint
public java.lang.Object getProperty(java.lang.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 java.lang.String getEndpointBuilderName()
ImmutableEndpoint
getEndpointBuilderName
in interface ImmutableEndpoint
public boolean isProtocolSupported(java.lang.String protocol)
isProtocolSupported
in interface ImmutableEndpoint
public boolean isDisableTransportTransformer()
isDisableTransportTransformer
in interface ImmutableEndpoint
public void dispose()
Disposable
dispose
in interface Disposable
public MessageProcessor getMessageProcessorChain(FlowConstruct flowContruct) throws MuleException
MuleException
protected abstract MessageProcessor createMessageProcessorChain(FlowConstruct flowContruct) throws MuleException
MuleException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |