org.springframework.ws.server.endpoint.mapping
Class PayloadRootQNameEndpointMapping
java.lang.Object
org.springframework.context.support.ApplicationObjectSupport
org.springframework.ws.server.endpoint.mapping.AbstractEndpointMapping
org.springframework.ws.server.endpoint.mapping.AbstractMapBasedEndpointMapping
org.springframework.ws.server.endpoint.mapping.AbstractQNameEndpointMapping
org.springframework.ws.server.endpoint.mapping.PayloadRootQNameEndpointMapping
All Implemented Interfaces: Aware , ApplicationContextAware , Ordered , EndpointMapping
Deprecated. as of Spring Web Services 2.0, in favor of PayloadRootAnnotationMethodEndpointMapping
.
@Deprecated
public class PayloadRootQNameEndpointMapping extends AbstractQNameEndpointMapping
Implementation of the EndpointMapping
interface to map from the qualified name of the request payload
root element. Supports both mapping to bean instances and mapping to bean names: the latter is required for prototype
endpoints.
The endpointMap
property is suitable for populating the endpoint map with bean references, e.g. via the
map element in XML bean definitions.
Mappings to bean names can be set via the mappings
property, in a form accepted by the
java.util.Properties
class, like as follows:
{http://www.springframework.org/spring-ws/samples/airline/schemas}BookFlight=bookFlightEndpoint
{http://www.springframework.org/spring-ws/samples/airline/schemas}GetFlights=getFlightsEndpoint
The syntax is QNAME=ENDPOINT_BEAN_NAME. Qualified names are parsed using the syntax described in
QNameEditor
.
Since:
1.0.0
Author:
Arjen Poutsma
See Also: QNameEditor
Method Summary
protected QName
resolveQName (MessageContext messageContext)
Deprecated. Template method that resolves the qualified names from the given SOAP message.
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
PayloadRootQNameEndpointMapping
public PayloadRootQNameEndpointMapping ()
Deprecated.
resolveQName
protected QName resolveQName (MessageContext messageContext)
throws TransformerException
Deprecated. Description copied from class: AbstractQNameEndpointMapping
Template method that resolves the qualified names from the given SOAP message.
Specified by: resolveQName
in class AbstractQNameEndpointMapping
Returns: an array of qualified names that serve as registration keys
Throws:
TransformerException
Copyright © 2005-2013 The Spring Web Services Framework . All Rights Reserved.