public class SoapActionAnnotationMethodEndpointMapping extends AbstractAnnotationMethodEndpointMapping<String> implements SoapEndpointMapping
EndpointMapping interface that uses the SoapAction annotation to map methods to the request SOAPAction header.
Endpoints typically have the following form:
@Endpoint
public class MyEndpoint{
@SoapAction("http://springframework.org/spring-ws/SoapAction")
public Source doSomethingWithRequest() {
...
}
}
loggerHIGHEST_PRECEDENCE, LOWEST_PRECEDENCE| Constructor and Description |
|---|
SoapActionAnnotationMethodEndpointMapping() |
| Modifier and Type | Method and Description |
|---|---|
protected EndpointInvocationChain |
createEndpointInvocationChain(MessageContext messageContext,
Object endpoint,
EndpointInterceptor[] interceptors)
Creates a new
SoapEndpointInvocationChain based on the given endpoint, and the set interceptors, and
actors/roles. |
protected String |
getLookupKeyForMessage(MessageContext messageContext)
Returns the the endpoint keys for the given message context.
|
protected String |
getLookupKeyForMethod(Method method)
Returns the the endpoint key for the given method.
|
protected List<String> |
getLookupKeysForMethod(Method method)
Returns the the endpoint keys for the given method.
|
void |
setActorOrRole(String actorOrRole)
Sets a single SOAP actor/actorOrRole to apply to all endpoints mapped by the delegate endpoint mapping.
|
void |
setActorsOrRoles(String[] actorsOrRoles)
Sets the array of SOAP actors/actorsOrRoles to apply to all endpoints mapped by the delegate endpoint mapping.
|
void |
setUltimateReceiver(boolean ultimateReceiver)
Indicates whether this the endpoint fulfills the SOAP 1.2 Ultimate Receiver role.
|
getEndpointAnnotationType, initApplicationContext, setDetectEndpointsInAncestorContextsgetEndpointClass, getEndpointInternal, lookupEndpoint, registerEndpoint, registerMethods, registerMethodsgetDefaultEndpoint, getEndpoint, getInterceptors, getOrder, initInterceptors, resolveStringEndpoint, setDefaultEndpoint, setInterceptors, setOrdergetApplicationContext, getMessageSourceAccessor, initApplicationContext, isContextRequired, requiredContextClass, setApplicationContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetEndpointpublic SoapActionAnnotationMethodEndpointMapping()
public final void setActorOrRole(String actorOrRole)
SoapEndpointMappingsetActorOrRole in interface SoapEndpointMappingpublic final void setActorsOrRoles(String[] actorsOrRoles)
SoapEndpointMappingsetActorsOrRoles in interface SoapEndpointMappingpublic final void setUltimateReceiver(boolean ultimateReceiver)
SoapEndpointMappingsetUltimateReceiver in interface SoapEndpointMappingprotected final EndpointInvocationChain createEndpointInvocationChain(MessageContext messageContext, Object endpoint, EndpointInterceptor[] interceptors)
SoapEndpointInvocationChain based on the given endpoint, and the set interceptors, and
actors/roles.createEndpointInvocationChain in class AbstractEndpointMappingendpoint - the endpointinterceptors - the endpoint interceptorsAbstractEndpointMapping.setInterceptors(org.springframework.ws.server.EndpointInterceptor[]),
setActorsOrRoles(String[])protected String getLookupKeyForMessage(MessageContext messageContext) throws Exception
AbstractMethodEndpointMappinggetLookupKeyForMessage in class AbstractMethodEndpointMapping<String>Exceptionprotected String getLookupKeyForMethod(Method method)
AbstractMethodEndpointMappingnull if the method is not to be
registered, which is the default.getLookupKeyForMethod in class AbstractMethodEndpointMapping<String>method - the methodnull if the method is not to be registeredAbstractMethodEndpointMapping.getLookupKeysForMethod(Method)protected List<String> getLookupKeysForMethod(Method method)
AbstractMethodEndpointMappingAbstractMethodEndpointMapping.getLookupKeysForMethod(Method).getLookupKeysForMethod in class AbstractMethodEndpointMapping<String>method - the method