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 endpoint keys for the given message context.
|
protected List<QName> |
getLookupKeysForMethod(Method method)
Returns the endpoint keys for the given method.
|
static void |
setTransformerFactory(TransformerFactory transformerFactory)
Override the default
TransformerFactory . |
getEndpointAnnotationType, initApplicationContext, setDetectEndpointsInAncestorContexts
getEndpointClass, getEndpointInternal, getLookupKeyForMethod, lookupEndpoint, registerEndpoint, registerMethods, registerMethods
createEndpointInvocationChain, getDefaultEndpoint, getEndpoint, getInterceptors, getOrder, initInterceptors, resolveStringEndpoint, setDefaultEndpoint, setInterceptors, setOrder
public PayloadRootAnnotationMethodEndpointMapping()
public static void setTransformerFactory(TransformerFactory transformerFactory)
TransformerFactory
.transformerFactory
- 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 methodCopyright © 2020 Pivotal Software. All rights reserved.