org.springframework.ws.soap.addressing.server
Class AbstractActionMethodEndpointMapping
java.lang.Object
org.springframework.xml.transform.TransformerObjectSupport
org.springframework.ws.soap.addressing.server.AbstractAddressingEndpointMapping
org.springframework.ws.soap.addressing.server.AbstractActionEndpointMapping
org.springframework.ws.soap.addressing.server.AbstractActionMethodEndpointMapping
All Implemented Interfaces: Aware , InitializingBean , ApplicationContextAware , Ordered , EndpointMapping , SoapEndpointMapping
Direct Known Subclasses: AnnotationActionEndpointMapping
public abstract class AbstractActionMethodEndpointMapping extends AbstractActionEndpointMapping
Abstract base class for WS-Addressing Action
-mapped EndpointMapping
implementations that map to MethodEndpoint
s. Provides infrastructure for mapping endpoint methods to
actions.
Since:
1.5.0
Author:
Arjen Poutsma
Methods inherited from class org.springframework.ws.soap.addressing.server.AbstractActionEndpointMapping
getEndpointAddress , getEndpointInternal , getFaultAction , getFaultActionSuffix , getOutputActionSuffix , getResponseAction , lookupEndpoint , registerEndpoint , setApplicationContext , setFaultActionSuffix , setOutputActionSuffix
Methods inherited from class org.springframework.ws.soap.addressing.server.AbstractAddressingEndpointMapping
afterPropertiesSet , getEndpoint , getMessageIdStrategy , getMessageIdStrategy , getMessageSenders , getMessageSenders , getOrder , initDefaultStrategies , setActorOrRole , setActorsOrRoles , setMessageIdStrategy , setMessageSender , setMessageSenders , setOrder , setPostInterceptors , setPreInterceptors , setUltimateReceiver , setVersions
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
AbstractActionMethodEndpointMapping
public AbstractActionMethodEndpointMapping ()
registerMethods
protected void registerMethods (Object endpoint)
Helper method that registers the methods of the given bean. This method iterates over the methods of the bean,
and calls getActionForMethod(java.lang.reflect.Method)
for each. If this returns a URI, the method is
registered using AbstractActionEndpointMapping.registerEndpoint(java.net.URI, Object)
.
See Also: (java.lang.reflect.Method)
getActionForMethod
protected abstract URI getActionForMethod (Method method)
Returns the action value for the specified method.
getEndpointClass
protected Class <?> getEndpointClass (Object endpoint)
Return the class or interface to use for method reflection.
Default implementation delegates to AopUtils.getTargetClass(Object)
.
Parameters: endpoint
- the bean instance (might be an AOP proxy)
Returns: the bean class to expose
Copyright © 2005-2013 The Spring Web Services Framework . All Rights Reserved.