org.springframework.ws.soap.server.endpoint.mapping
Class SoapActionAnnotationMethodEndpointMapping
java.lang.Object
org.springframework.context.support.ApplicationObjectSupport
org.springframework.ws.server.endpoint.mapping.AbstractEndpointMapping
org.springframework.ws.server.endpoint.mapping.AbstractMethodEndpointMapping<T>
org.springframework.ws.server.endpoint.mapping.AbstractAnnotationMethodEndpointMapping<String>
org.springframework.ws.soap.server.endpoint.mapping.SoapActionAnnotationMethodEndpointMapping
- All Implemented Interfaces:
- Aware, ApplicationContextAware, Ordered, EndpointMapping, SoapEndpointMapping
public class SoapActionAnnotationMethodEndpointMapping
- extends AbstractAnnotationMethodEndpointMapping<String>
- implements SoapEndpointMapping
Implementation of the 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() {
...
}
}
- Since:
- 1.0.0
- Author:
- Arjen Poutsma
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SoapActionAnnotationMethodEndpointMapping
public SoapActionAnnotationMethodEndpointMapping()
setActorOrRole
public final void setActorOrRole(String actorOrRole)
- Description copied from interface:
SoapEndpointMapping
- Sets a single SOAP actor/actorOrRole to apply to all endpoints mapped by the delegate endpoint mapping.
- Specified by:
setActorOrRole
in interface SoapEndpointMapping
setActorsOrRoles
public final void setActorsOrRoles(String[] actorsOrRoles)
- Description copied from interface:
SoapEndpointMapping
- Sets the array of SOAP actors/actorsOrRoles to apply to all endpoints mapped by the delegate endpoint mapping.
- Specified by:
setActorsOrRoles
in interface SoapEndpointMapping
setUltimateReceiver
public final void setUltimateReceiver(boolean ultimateReceiver)
- Description copied from interface:
SoapEndpointMapping
- Indicates whether this the endpoint fulfills the SOAP 1.2 Ultimate Receiver role.
- Specified by:
setUltimateReceiver
in interface SoapEndpointMapping
createEndpointInvocationChain
protected final EndpointInvocationChain createEndpointInvocationChain(MessageContext messageContext,
Object endpoint,
EndpointInterceptor[] interceptors)
- Creates a new
SoapEndpointInvocationChain
based on the given endpoint, and the set interceptors, and
actors/roles.
- Overrides:
createEndpointInvocationChain
in class AbstractEndpointMapping
- Parameters:
endpoint
- the endpointinterceptors
- the endpoint interceptors
- Returns:
- the created invocation chain
- See Also:
AbstractEndpointMapping.setInterceptors(org.springframework.ws.server.EndpointInterceptor[])
,
setActorsOrRoles(String[])
getLookupKeyForMessage
protected String getLookupKeyForMessage(MessageContext messageContext)
throws Exception
- Description copied from class:
AbstractMethodEndpointMapping
- Returns the the endpoint keys for the given message context.
- Specified by:
getLookupKeyForMessage
in class AbstractMethodEndpointMapping<String>
- Returns:
- the registration keys
- Throws:
Exception
getLookupKeyForMethod
protected String getLookupKeyForMethod(Method method)
- Description copied from class:
AbstractMethodEndpointMapping
- Returns the the endpoint keys for the given method. Returns
null
if the method is not to be
registered, which is the default.
- Overrides:
getLookupKeyForMethod
in class AbstractMethodEndpointMapping<String>
- Parameters:
method
- the method
- Returns:
- a registration key, or
null
if the method is not to be registered
Copyright © 2005-2013 The Spring Web Services Framework. All Rights Reserved.