Class MarshallingWebServiceInboundGateway

All Implemented Interfaces:
Aware, BeanFactoryAware, BeanNameAware, DisposableBean, InitializingBean, ApplicationContextAware, Lifecycle, Phased, SmartLifecycle, ExpressionCapable, OrderlyShutdownCapable, IntegrationPattern, NamedComponent, IntegrationInboundManagement, IntegrationManagement, ManageableLifecycle, ManageableSmartLifecycle, TrackableComponent, MessageEndpoint

public class MarshallingWebServiceInboundGateway extends AbstractWebServiceInboundGateway
Since:
1.0.2
Author:
Mark Fisher, Oleg Zhurakousky, Gary Russell
  • Constructor Details

    • MarshallingWebServiceInboundGateway

      public MarshallingWebServiceInboundGateway()
      Creates a new MarshallingWebServiceInboundGateway. The Marshaller and Unmarshaller must be injected using properties.
    • MarshallingWebServiceInboundGateway

      public MarshallingWebServiceInboundGateway(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:
      IllegalArgumentException - when marshaller does not implement Unmarshaller
      See Also:
    • MarshallingWebServiceInboundGateway

      public MarshallingWebServiceInboundGateway(Marshaller marshaller, Unmarshaller unmarshaller)
      Creates a new MarshallingWebServiceInboundGateway with the given marshaller and unmarshaller.
      Parameters:
      marshaller - The marshaller.
      unmarshaller - The unmarshaller.
  • Method Details