org.mule.module.ibeans.spi.support
Class CallRequestEndpoint

java.lang.Object
  extended by org.mule.endpoint.DynamicURIInboundEndpoint
      extended by org.mule.module.ibeans.spi.support.DynamicRequestEndpoint
          extended by org.mule.module.ibeans.spi.support.CallRequestEndpoint
All Implemented Interfaces:
Serializable, FlowConstructAware, ImmutableEndpoint, InboundEndpoint, Startable, Stoppable, NamedObject, MessageSource, MessageRequesting

public class CallRequestEndpoint
extends DynamicRequestEndpoint

A dynamic inbound endpoint used for request calls defined using the Call annotation. Note that call requests look the same as normal call endpoints except request calls do not define any headers or payload.

The endpoint scheme is the only part of the URI that cannot be replaced at runtime.

See Also:
CallOutboundEndpoint, Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.mule.module.ibeans.spi.support.DynamicRequestEndpoint
DynamicRequestEndpoint.NullInboundEndpoint
 
Field Summary
protected  Log logger
          logger used by this class
 
Fields inherited from class org.mule.module.ibeans.spi.support.DynamicRequestEndpoint
EVAL_PARAM_PROPERTY, parser, uriTemplate
 
Fields inherited from class org.mule.endpoint.DynamicURIInboundEndpoint
endpoint
 
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
CallRequestEndpoint(MuleContext context, AnnotatedEndpointData epData)
           
 
Method Summary
protected  Map<String,Object> getPropertiesForTemplate(MuleMessage message)
           
 List getResponseTransformers()
           
 List getTransformers()
           
protected  String parseURIString(String uri, MuleMessage message)
           
protected  void validateUriTemplate(String uri)
           
 
Methods inherited from class org.mule.module.ibeans.spi.support.DynamicRequestEndpoint
equals, getEndpointURIForMessage, hashCode, request
 
Methods inherited from class org.mule.endpoint.DynamicURIInboundEndpoint
getAddress, getConnector, getEncoding, getEndpointBuilderName, getEndpointURI, getExchangePattern, getFilter, getInitialState, getMessageProcessors, getMessageProcessorsFactory, getMimeType, getMuleContext, getName, getProperties, getProperty, getProtocol, getRedeliveryPolicy, getResponseMessageProcessors, getResponseTimeout, getRetryPolicyTemplate, getSecurityFilter, getTransactionConfig, isDeleteUnacceptedMessages, isDisableTransportTransformer, isProtocolSupported, isReadOnly, request, setEndpointURI, setFlowConstruct, setListener, start, stop
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected final transient Log logger
logger used by this class

Constructor Detail

CallRequestEndpoint

public CallRequestEndpoint(MuleContext context,
                           AnnotatedEndpointData epData)
                    throws MalformedEndpointException
Throws:
MalformedEndpointException
Method Detail

validateUriTemplate

protected void validateUriTemplate(String uri)
                            throws MalformedEndpointException
Overrides:
validateUriTemplate in class DynamicRequestEndpoint
Throws:
MalformedEndpointException

parseURIString

protected String parseURIString(String uri,
                                MuleMessage message)
Overrides:
parseURIString in class DynamicRequestEndpoint

getPropertiesForTemplate

protected Map<String,Object> getPropertiesForTemplate(MuleMessage message)
Overrides:
getPropertiesForTemplate in class DynamicRequestEndpoint

getTransformers

public List getTransformers()
Specified by:
getTransformers in interface ImmutableEndpoint
Overrides:
getTransformers in class DynamicURIInboundEndpoint

getResponseTransformers

public List getResponseTransformers()
Specified by:
getResponseTransformers in interface ImmutableEndpoint
Overrides:
getResponseTransformers in class DynamicURIInboundEndpoint


Copyright © 2003-2011 MuleSoft, Inc.. All Rights Reserved.