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:
org.springframework.beans.factory.Aware,org.springframework.beans.factory.InitializingBean,org.springframework.context.ApplicationContextAware,org.springframework.core.Ordered,EndpointMapping,SoapEndpointMapping
- Direct Known Subclasses:
AnnotationActionEndpointMapping
Abstract base class for WS-Addressing
Action-mapped EndpointMapping
implementations that map to MethodEndpoints. Provides infrastructure for mapping endpoint methods to actions.- Since:
- 1.5.0
- Author:
- Arjen Poutsma
-
Field Summary
Fields inherited from class org.springframework.ws.soap.addressing.server.AbstractActionEndpointMapping
DEFAULT_FAULT_ACTION_SUFFIX, DEFAULT_OUTPUT_ACTION_SUFFIXFields inherited from class org.springframework.xml.transform.TransformerObjectSupport
loggerFields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract URIgetActionForMethod(Method method) Returns the action value for the specified method.protected Class<?>getEndpointClass(Object endpoint) Return the class or interface to use for method reflection.protected voidregisterMethods(Object endpoint) Helper method that registers the methods of the given bean.Methods inherited from class org.springframework.ws.soap.addressing.server.AbstractActionEndpointMapping
getEndpointAddress, getEndpointInternal, getFaultAction, getFaultActionSuffix, getOutputActionSuffix, getResponseAction, lookupEndpoint, registerEndpoint, setFaultActionSuffix, setOutputActionSuffixMethods inherited from class org.springframework.ws.soap.addressing.server.AbstractAddressingEndpointMapping
afterPropertiesSet, getApplicationContext, getEndpoint, getMessageIdStrategy, getMessageIdStrategy, getMessageSenders, getMessageSenders, getOrder, initDefaultStrategies, setActorOrRole, setActorsOrRoles, setApplicationContext, setMessageIdStrategy, setMessageSender, setMessageSenders, setOrder, setPostInterceptors, setPreInterceptors, setUltimateReceiver, setVersionsMethods inherited from class org.springframework.xml.transform.TransformerObjectSupport
createTransformer, getTransformerFactory, newTransformerFactory, setTransformerFactoryClass, transform
-
Constructor Details
-
AbstractActionMethodEndpointMapping
public AbstractActionMethodEndpointMapping()
-
-
Method Details
-
registerMethods
Helper method that registers the methods of the given bean. This method iterates over the methods of the bean, and callsgetActionForMethod(java.lang.reflect.Method)for each. If this returns a URI, the method is registered usingAbstractActionEndpointMapping.registerEndpoint(java.net.URI, Object).- See Also:
-
getActionForMethod
Returns the action value for the specified method. -
getEndpointClass
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
-