org.mule.tck.util.endpoint
Class InboundEndpointWrapper

java.lang.Object
  extended by org.mule.tck.util.endpoint.InboundEndpointWrapper
All Implemented Interfaces:
Serializable, FlowConstructAware, ImmutableEndpoint, InboundEndpoint, Startable, Stoppable, NamedObject, MessageSource, MessageRequesting

public abstract class InboundEndpointWrapper
extends Object
implements InboundEndpoint

Wraps an InboundEndpoint enabling subclasses to override only those methods which add extra behaviour.

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.mule.api.endpoint.ImmutableEndpoint
INITIAL_STATE_STARTED, INITIAL_STATE_STOPPED
 
Fields inherited from interface org.mule.api.transport.MessageRequesting
REQUEST_NO_WAIT, REQUEST_WAIT_INDEFINITELY
 
Fields inherited from interface org.mule.api.lifecycle.Startable
PHASE_NAME
 
Fields inherited from interface org.mule.api.lifecycle.Stoppable
PHASE_NAME
 
Constructor Summary
InboundEndpointWrapper(InboundEndpoint delegate)
           
 
Method Summary
 AbstractRedeliveryPolicy createDefaultRedeliveryPolicy(int maxRedelivery)
           
 String getAddress()
           
 Connector getConnector()
           
 InboundEndpoint getDelegate()
           
 String getEncoding()
           
 String getEndpointBuilderName()
           
 EndpointURI getEndpointURI()
           
 MessageExchangePattern getExchangePattern()
           
 Filter getFilter()
           
 String getInitialState()
           
 List<MessageProcessor> getMessageProcessors()
           
 EndpointMessageProcessorChainFactory getMessageProcessorsFactory()
           
 String getMimeType()
           
 MuleContext getMuleContext()
           
 String getName()
           
 Map getProperties()
           
 Object getProperty(Object key)
           
 String getProtocol()
           
 AbstractRedeliveryPolicy getRedeliveryPolicy()
           
 List<MessageProcessor> getResponseMessageProcessors()
           
 int getResponseTimeout()
           
 List<Transformer> getResponseTransformers()
           
 RetryPolicyTemplate getRetryPolicyTemplate()
           
 EndpointSecurityFilter getSecurityFilter()
           
 TransactionConfig getTransactionConfig()
           
 List<Transformer> getTransformers()
           
 boolean isDeleteUnacceptedMessages()
           
 boolean isDisableTransportTransformer()
           
 boolean isProtocolSupported(String protocol)
           
 boolean isReadOnly()
           
 MuleMessage request(long timeout)
           
 void setFlowConstruct(FlowConstruct flowConstruct)
           
 void setListener(MessageProcessor listener)
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InboundEndpointWrapper

public InboundEndpointWrapper(InboundEndpoint delegate)
Method Detail

createDefaultRedeliveryPolicy

public AbstractRedeliveryPolicy createDefaultRedeliveryPolicy(int maxRedelivery)
Specified by:
createDefaultRedeliveryPolicy in interface InboundEndpoint

setFlowConstruct

public void setFlowConstruct(FlowConstruct flowConstruct)
Specified by:
setFlowConstruct in interface FlowConstructAware

getEndpointURI

public EndpointURI getEndpointURI()
Specified by:
getEndpointURI in interface ImmutableEndpoint

getAddress

public String getAddress()
Specified by:
getAddress in interface ImmutableEndpoint

getEncoding

public String getEncoding()
Specified by:
getEncoding in interface ImmutableEndpoint

getConnector

public Connector getConnector()
Specified by:
getConnector in interface ImmutableEndpoint

getTransformers

public List<Transformer> getTransformers()
Specified by:
getTransformers in interface ImmutableEndpoint

getResponseTransformers

public List<Transformer> getResponseTransformers()
Specified by:
getResponseTransformers in interface ImmutableEndpoint

getProperties

public Map getProperties()
Specified by:
getProperties in interface ImmutableEndpoint

getProperty

public Object getProperty(Object key)
Specified by:
getProperty in interface ImmutableEndpoint

getProtocol

public String getProtocol()
Specified by:
getProtocol in interface ImmutableEndpoint

isReadOnly

public boolean isReadOnly()
Specified by:
isReadOnly in interface ImmutableEndpoint

getTransactionConfig

public TransactionConfig getTransactionConfig()
Specified by:
getTransactionConfig in interface ImmutableEndpoint

getFilter

public Filter getFilter()
Specified by:
getFilter in interface ImmutableEndpoint

isDeleteUnacceptedMessages

public boolean isDeleteUnacceptedMessages()
Specified by:
isDeleteUnacceptedMessages in interface ImmutableEndpoint

getSecurityFilter

public EndpointSecurityFilter getSecurityFilter()
Specified by:
getSecurityFilter in interface ImmutableEndpoint

getMessageProcessorsFactory

public EndpointMessageProcessorChainFactory getMessageProcessorsFactory()
Specified by:
getMessageProcessorsFactory in interface ImmutableEndpoint

getMessageProcessors

public List<MessageProcessor> getMessageProcessors()
Specified by:
getMessageProcessors in interface ImmutableEndpoint

getResponseMessageProcessors

public List<MessageProcessor> getResponseMessageProcessors()
Specified by:
getResponseMessageProcessors in interface ImmutableEndpoint

getExchangePattern

public MessageExchangePattern getExchangePattern()
Specified by:
getExchangePattern in interface ImmutableEndpoint

getResponseTimeout

public int getResponseTimeout()
Specified by:
getResponseTimeout in interface ImmutableEndpoint

getInitialState

public String getInitialState()
Specified by:
getInitialState in interface ImmutableEndpoint

getMuleContext

public MuleContext getMuleContext()
Specified by:
getMuleContext in interface ImmutableEndpoint

getRetryPolicyTemplate

public RetryPolicyTemplate getRetryPolicyTemplate()
Specified by:
getRetryPolicyTemplate in interface ImmutableEndpoint

getEndpointBuilderName

public String getEndpointBuilderName()
Specified by:
getEndpointBuilderName in interface ImmutableEndpoint

isProtocolSupported

public boolean isProtocolSupported(String protocol)
Specified by:
isProtocolSupported in interface ImmutableEndpoint

getMimeType

public String getMimeType()
Specified by:
getMimeType in interface ImmutableEndpoint

getRedeliveryPolicy

public AbstractRedeliveryPolicy getRedeliveryPolicy()
Specified by:
getRedeliveryPolicy in interface ImmutableEndpoint

isDisableTransportTransformer

public boolean isDisableTransportTransformer()
Specified by:
isDisableTransportTransformer in interface ImmutableEndpoint

request

public MuleMessage request(long timeout)
                    throws Exception
Specified by:
request in interface MessageRequesting
Throws:
Exception

setListener

public void setListener(MessageProcessor listener)
Specified by:
setListener in interface MessageSource

getName

public String getName()
Specified by:
getName in interface NamedObject

start

public void start()
           throws MuleException
Specified by:
start in interface Startable
Throws:
MuleException

stop

public void stop()
          throws MuleException
Specified by:
stop in interface Stoppable
Throws:
MuleException

getDelegate

public InboundEndpoint getDelegate()


Copyright © 2003–2014 MuleSoft, Inc.. All rights reserved.