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, setDetectEndpointsInAncestorContextsgetEndpointClass, getEndpointInternal, getLookupKeyForMethod, lookupEndpoint, registerEndpoint, registerMethods, registerMethodscreateEndpointInvocationChain, getDefaultEndpoint, getEndpoint, getInterceptors, getOrder, initInterceptors, resolveStringEndpoint, setDefaultEndpoint, setInterceptors, setOrderpublic PayloadRootAnnotationMethodEndpointMapping()
public static void setTransformerFactory(TransformerFactory transformerFactory)
TransformerFactory.transformerFactory - protected QName getLookupKeyForMessage(MessageContext messageContext) throws Exception
AbstractMethodEndpointMappinggetLookupKeyForMessage in class AbstractMethodEndpointMapping<QName>Exceptionprotected List<QName> getLookupKeysForMethod(Method method)
AbstractMethodEndpointMappingAbstractMethodEndpointMapping.getLookupKeysForMethod(Method).getLookupKeysForMethod in class AbstractMethodEndpointMapping<QName>method - the methodCopyright © 2023 VMware, Inc.. All rights reserved.