public class PayloadRootAnnotationMethodEndpointMapping extends AbstractAnnotationMethodEndpointMapping<QName>
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() { ... } }
Constructor and Description |
---|
PayloadRootAnnotationMethodEndpointMapping() |
Modifier and Type | Method and Description |
---|---|
protected QName |
getLookupKeyForMessage(MessageContext messageContext)
Returns the the endpoint keys for the given message context.
|
protected QName |
getLookupKeyForMethod(Method method)
Returns the the endpoint keys for the given method.
|
getEndpointAnnotationType, initApplicationContext, setDetectEndpointsInAncestorContexts
getEndpointClass, getEndpointInternal, lookupEndpoint, registerEndpoint, registerMethods, registerMethods
createEndpointInvocationChain, getDefaultEndpoint, getEndpoint, getInterceptors, getOrder, initInterceptors, resolveStringEndpoint, setDefaultEndpoint, setInterceptors, setOrder
public PayloadRootAnnotationMethodEndpointMapping()
protected QName getLookupKeyForMessage(MessageContext messageContext) throws Exception
AbstractMethodEndpointMapping
getLookupKeyForMessage
in class AbstractMethodEndpointMapping<QName>
Exception
protected QName getLookupKeyForMethod(Method method)
AbstractMethodEndpointMapping
null
if the method is not to be
registered, which is the default.getLookupKeyForMethod
in class AbstractMethodEndpointMapping<QName>
method
- the methodnull
if the method is not to be registeredCopyright © 2005–2015 The Spring Web Services Framework. All rights reserved.