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() {
...
}
}
loggerHIGHEST_PRECEDENCE, LOWEST_PRECEDENCE| 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, setDetectEndpointsInAncestorContextsgetEndpointClass, getEndpointInternal, getLookupKeyForMethod, lookupEndpoint, registerEndpoint, registerMethods, registerMethodscreateEndpointInvocationChain, getDefaultEndpoint, getEndpoint, getInterceptors, getOrder, initInterceptors, resolveStringEndpoint, setDefaultEndpoint, setInterceptors, setOrdergetApplicationContext, getMessageSourceAccessor, initApplicationContext, isContextRequired, requiredContextClass, setApplicationContextpublic PayloadRootAnnotationMethodEndpointMapping()
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 method