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 List<QName> |
getLookupKeysForMethod(Method method)
Returns the the endpoint keys for the given method.
|
getEndpointAnnotationType, initApplicationContext, setDetectEndpointsInAncestorContexts
getEndpointClass, getEndpointInternal, getLookupKeyForMethod, 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 List<QName> getLookupKeysForMethod(Method method)
AbstractMethodEndpointMapping
AbstractMethodEndpointMapping.getLookupKeysForMethod(Method)
.getLookupKeysForMethod
in class AbstractMethodEndpointMapping<QName>
method
- the method