supportsInternal(MethodEndpoint methodEndpoint) Supports a method with a single, unmarshallable parameter, and that return void or a marshallable
type.
public MarshallingMethodEndpointAdapter(Marshaller marshaller)(Code)
Creates a new MarshallingMethodEndpointAdapter with the given marshaller. If the given
Marshaller also implements the
Unmarshaller interface, it is used for both marshalling and
unmarshalling. Otherwise, an exception is thrown.
Note that all
Marshaller implementations in Spring-WS also implement the
Unmarshaller interface,
so that you can safely use this constructor.
Parameters: marshaller - object used as marshaller and unmarshaller throws: IllegalArgumentException - when marshaller does not implement the Unmarshallerinterface
Creates a new MarshallingMethodEndpointAdapter with the given marshaller and unmarshaller.
Parameters: marshaller - the marshaller to use Parameters: unmarshaller - the unmarshaller to use