org.springframework.ws.server.endpoint.mapping
Class PayloadRootAnnotationMethodEndpointMapping
java.lang.Object
org.springframework.context.support.ApplicationObjectSupport
org.springframework.ws.server.endpoint.mapping.AbstractEndpointMapping
org.springframework.ws.server.endpoint.mapping.AbstractMethodEndpointMapping
org.springframework.ws.server.endpoint.mapping.AbstractAnnotationMethodEndpointMapping
org.springframework.ws.server.endpoint.mapping.PayloadRootAnnotationMethodEndpointMapping
- All Implemented Interfaces:
- ApplicationContextAware, Ordered, EndpointMapping
public class PayloadRootAnnotationMethodEndpointMapping
- extends AbstractAnnotationMethodEndpointMapping
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PayloadRootAnnotationMethodEndpointMapping
public PayloadRootAnnotationMethodEndpointMapping()
getLookupKeyForMessage
protected String getLookupKeyForMessage(MessageContext messageContext)
throws Exception
- Description copied from class:
AbstractMethodEndpointMapping
- Returns the the endpoint keys for the given message context.
- Specified by:
getLookupKeyForMessage
in class AbstractMethodEndpointMapping
- Returns:
- the registration keys
- Throws:
Exception
getLookupKeyForMethod
protected String getLookupKeyForMethod(Method method)
- Description copied from class:
AbstractMethodEndpointMapping
- Returns the the endpoint keys for the given method. Returns
null
if the method is not to be
registered, which is the default.
- Overrides:
getLookupKeyForMethod
in class AbstractMethodEndpointMapping
- Parameters:
method
- the method
- Returns:
- a registration key, or
null
if the method is not to be registered
Copyright © 2005-2010 The Spring Web Services Framework. All Rights Reserved.