org.springframework.integration.ws
Class MarshallingWebServiceInboundGateway
java.lang.Object
org.springframework.ws.server.endpoint.AbstractMarshallingPayloadEndpoint
org.springframework.integration.ws.MarshallingWebServiceInboundGateway
- All Implemented Interfaces:
- org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.InitializingBean, org.springframework.context.Lifecycle, org.springframework.ws.server.endpoint.MessageEndpoint
public class MarshallingWebServiceInboundGateway
- extends org.springframework.ws.server.endpoint.AbstractMarshallingPayloadEndpoint
- implements org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.InitializingBean, org.springframework.context.Lifecycle
- Since:
- 1.0.2
- Author:
- Mark Fisher
| Fields inherited from class org.springframework.ws.server.endpoint.AbstractMarshallingPayloadEndpoint |
logger |
| Methods inherited from class org.springframework.ws.server.endpoint.AbstractMarshallingPayloadEndpoint |
afterMarshallerSet, getMarshaller, getUnmarshaller, invoke, onMarshalResponse, onUnmarshalRequest, setMarshaller, setUnmarshaller |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MarshallingWebServiceInboundGateway
public MarshallingWebServiceInboundGateway()
- Creates a new
MarshallingWebServiceInboundGateway.
The Marshaller and Unmarshaller must be injected using properties.
MarshallingWebServiceInboundGateway
public MarshallingWebServiceInboundGateway(org.springframework.oxm.Marshaller marshaller)
- Creates a new
MarshallingWebServiceInboundGateway with the given marshaller.
The Marshaller must also implement Unmarshaller, since it is used for both marshalling and
unmarshalling.
Note that all Marshaller implementations in Spring-OXM also implement the Unmarshaller
interface, so you can safely use this constructor for any of those implementations.
- Parameters:
marshaller - object used as marshaller and unmarshaller
- Throws:
java.lang.IllegalArgumentException - when marshaller does not implement Unmarshaller- See Also:
MarshallingWebServiceInboundGateway(Marshaller, Unmarshaller)
MarshallingWebServiceInboundGateway
public MarshallingWebServiceInboundGateway(org.springframework.oxm.Marshaller marshaller,
org.springframework.oxm.Unmarshaller unmarshaller)
- Creates a new
MarshallingWebServiceInboundGateway with the given marshaller and unmarshaller.
setRequestChannel
public void setRequestChannel(MessageChannel requestChannel)
setRequestTimeout
public void setRequestTimeout(long requestTimeout)
setReplyChannel
public void setReplyChannel(MessageChannel replyChannel)
setReplyTimeout
public void setReplyTimeout(long replyTimeout)
setTaskScheduler
public void setTaskScheduler(TaskScheduler taskScheduler)
setAutoStartup
public void setAutoStartup(boolean autoStartup)
setBeanName
public void setBeanName(java.lang.String beanName)
- Specified by:
setBeanName in interface org.springframework.beans.factory.BeanNameAware
setBeanFactory
public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
- Specified by:
setBeanFactory in interface org.springframework.beans.factory.BeanFactoryAware
afterPropertiesSet
public void afterPropertiesSet()
throws java.lang.Exception
- Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean- Overrides:
afterPropertiesSet in class org.springframework.ws.server.endpoint.AbstractMarshallingPayloadEndpoint
- Throws:
java.lang.Exception
invokeInternal
protected java.lang.Object invokeInternal(java.lang.Object requestObject)
throws java.lang.Exception
- Specified by:
invokeInternal in class org.springframework.ws.server.endpoint.AbstractMarshallingPayloadEndpoint
- Throws:
java.lang.Exception
isRunning
public boolean isRunning()
- Specified by:
isRunning in interface org.springframework.context.Lifecycle
start
public void start()
- Specified by:
start in interface org.springframework.context.Lifecycle
stop
public void stop()
- Specified by:
stop in interface org.springframework.context.Lifecycle