org.springframework.integration.ws
Class AbstractWebServiceInboundGateway
java.lang.Object
org.springframework.integration.context.IntegrationObjectSupport
org.springframework.integration.endpoint.AbstractEndpoint
org.springframework.integration.gateway.MessagingGatewaySupport
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
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
headerMapper
protected volatile SoapHeaderMapper headerMapper
AbstractWebServiceInboundGateway
public AbstractWebServiceInboundGateway()
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