Spring Web Services Framework

org.springframework.ws.server.endpoint.adapter
Class MessageMethodEndpointAdapter

java.lang.Object
  extended by org.springframework.xml.transform.TransformerObjectSupport
      extended by org.springframework.ws.server.endpoint.adapter.AbstractMethodEndpointAdapter
          extended by org.springframework.ws.server.endpoint.adapter.MessageMethodEndpointAdapter
All Implemented Interfaces:
EndpointAdapter

Deprecated. as of Spring Web Services 2.0, in favor of DefaultMethodEndpointAdapter and MessageContextMethodArgumentResolver.

@Deprecated
public class MessageMethodEndpointAdapter
extends AbstractMethodEndpointAdapter

Adapter that supports endpoint methods with message contexts. Supports methods with the following signature:

 void handleMyMessage(MessageContext request);
 
I.e. methods that take a single MessageContext parameter, and return void. The method can have any name, as long as it is mapped by an EndpointMapping.

This adapter is registered by default by the MessageDispatcher and SoapMessageDispatcher.

Since:
1.0.0
Author:
Arjen Poutsma

Field Summary
 
Fields inherited from class org.springframework.xml.transform.TransformerObjectSupport
logger
 
Constructor Summary
MessageMethodEndpointAdapter()
          Deprecated.  
 
Method Summary
protected  void invokeInternal(MessageContext messageContext, MethodEndpoint methodEndpoint)
          Deprecated. Use the given method endpoint to handle the request.
protected  boolean supportsInternal(MethodEndpoint methodEndpoint)
          Deprecated. Given a method endpoint, return whether or not this adapter can support it.
 
Methods inherited from class org.springframework.ws.server.endpoint.adapter.AbstractMethodEndpointAdapter
invoke, supports
 
Methods inherited from class org.springframework.xml.transform.TransformerObjectSupport
createTransformer, getTransformerFactory, newTransformerFactory, setTransformerFactoryClass, transform
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageMethodEndpointAdapter

public MessageMethodEndpointAdapter()
Deprecated. 
Method Detail

supportsInternal

protected boolean supportsInternal(MethodEndpoint methodEndpoint)
Deprecated. 
Description copied from class: AbstractMethodEndpointAdapter
Given a method endpoint, return whether or not this adapter can support it.

Specified by:
supportsInternal in class AbstractMethodEndpointAdapter
Parameters:
methodEndpoint - method endpoint to check
Returns:
whether or not this adapter can adapt the given method

invokeInternal

protected void invokeInternal(MessageContext messageContext,
                              MethodEndpoint methodEndpoint)
                       throws Exception
Deprecated. 
Description copied from class: AbstractMethodEndpointAdapter
Use the given method endpoint to handle the request.

Specified by:
invokeInternal in class AbstractMethodEndpointAdapter
Parameters:
messageContext - the current message context
methodEndpoint - the method endpoint to use
Throws:
Exception - in case of errors

Spring Web Services Framework

Copyright © 2005-2013 The Spring Web Services Framework. All Rights Reserved.