Class PayloadRootAnnotationMethodEndpointMapping

All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware, org.springframework.core.Ordered, EndpointMapping

public class PayloadRootAnnotationMethodEndpointMapping extends AbstractAnnotationMethodEndpointMapping<QName>
Implementation of the EndpointMapping interface that uses the PayloadRoot annotation to map methods to request payload root elements.

Endpoints typically have the following form:

 @Endpoint
 public class MyEndpoint{
          @PayloadRoot(localPart = "Request",
                                   namespace = "http://springframework.org/spring-ws")
          public Source doSomethingWithRequest() {
                 ...
          }
 }
 
Since:
1.0.0
Author:
Arjen Poutsma