Spring Integration

org.springframework.integration.ws
Class AbstractWebServiceInboundGateway

java.lang.Object
  extended by org.springframework.integration.context.IntegrationObjectSupport
      extended by org.springframework.integration.endpoint.AbstractEndpoint
          extended by org.springframework.integration.gateway.MessagingGatewaySupport
              extended by org.springframework.integration.ws.AbstractWebServiceInboundGateway
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.InitializingBean, org.springframework.context.Lifecycle, org.springframework.context.Phased, org.springframework.context.SmartLifecycle, NamedComponent, TrackableComponent, org.springframework.ws.server.endpoint.MessageEndpoint
Direct Known Subclasses:
MarshallingWebServiceInboundGateway, SimpleWebServiceInboundGateway

public abstract class AbstractWebServiceInboundGateway
extends MessagingGatewaySupport
implements org.springframework.ws.server.endpoint.MessageEndpoint

Since:
2.1
Author:
Oleg Zhurakousky

Field Summary
protected  SoapHeaderMapper headerMapper
           
 
Fields inherited from class org.springframework.integration.context.IntegrationObjectSupport
logger
 
Constructor Summary
AbstractWebServiceInboundGateway()
           
 
Method Summary
protected abstract  void doInvoke(org.springframework.ws.context.MessageContext messageContext)
           
protected  void fromSoapHeaders(org.springframework.ws.context.MessageContext messageContext, MessageBuilder<?> builder)
           
 java.lang.String getComponentType()
          Subclasses may implement this method to provide component type information.
 void invoke(org.springframework.ws.context.MessageContext messageContext)
           
 void setHeaderMapper(SoapHeaderMapper headerMapper)
           
protected  void toSoapHeaders(org.springframework.ws.WebServiceMessage response, Message<?> replyMessage)
           
 
Methods inherited from class org.springframework.integration.gateway.MessagingGatewaySupport
doStart, doStop, onInit, receive, send, sendAndReceive, sendAndReceiveMessage, setErrorChannel, setReplyChannel, setReplyMapper, setReplyTimeout, setRequestChannel, setRequestMapper, setRequestTimeout, setShouldTrack
 
Methods inherited from class org.springframework.integration.endpoint.AbstractEndpoint
getPhase, isAutoStartup, isRunning, setAutoStartup, setPhase, setTaskScheduler, start, stop, stop
 
Methods inherited from class org.springframework.integration.context.IntegrationObjectSupport
afterPropertiesSet, getBeanFactory, getComponentName, getConversionService, getTaskScheduler, setBeanFactory, setBeanName, setComponentName, setConversionService, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.springframework.integration.context.NamedComponent
getComponentName
 

Field Detail

headerMapper

protected volatile SoapHeaderMapper headerMapper
Constructor Detail

AbstractWebServiceInboundGateway

public AbstractWebServiceInboundGateway()
Method Detail

getComponentType

public java.lang.String getComponentType()
Description copied from class: IntegrationObjectSupport
Subclasses may implement this method to provide component type information.

Specified by:
getComponentType in interface NamedComponent
Overrides:
getComponentType in class MessagingGatewaySupport

setHeaderMapper

public void setHeaderMapper(SoapHeaderMapper headerMapper)

invoke

public void invoke(org.springframework.ws.context.MessageContext messageContext)
            throws java.lang.Exception
Specified by:
invoke in interface org.springframework.ws.server.endpoint.MessageEndpoint
Throws:
java.lang.Exception

fromSoapHeaders

protected void fromSoapHeaders(org.springframework.ws.context.MessageContext messageContext,
                               MessageBuilder<?> builder)

toSoapHeaders

protected void toSoapHeaders(org.springframework.ws.WebServiceMessage response,
                             Message<?> replyMessage)

doInvoke

protected abstract void doInvoke(org.springframework.ws.context.MessageContext messageContext)
                          throws java.lang.Exception
Throws:
java.lang.Exception

Spring Integration