Spring Web Services Framework

org.springframework.ws.server.endpoint.mapping
Class PayloadRootQNameEndpointMapping

java.lang.Object
  extended by org.springframework.context.support.ApplicationObjectSupport
      extended by org.springframework.ws.server.endpoint.mapping.AbstractEndpointMapping
          extended by org.springframework.ws.server.endpoint.mapping.AbstractMapBasedEndpointMapping
              extended by org.springframework.ws.server.endpoint.mapping.AbstractQNameEndpointMapping
                  extended by 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

Field Summary
 
Fields inherited from class org.springframework.context.support.ApplicationObjectSupport
logger
 
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
 
Constructor Summary
PayloadRootQNameEndpointMapping()
          Deprecated.  
 
Method Summary
protected  QName resolveQName(MessageContext messageContext)
          Deprecated. Template method that resolves the qualified names from the given SOAP message.
 
Methods inherited from class org.springframework.ws.server.endpoint.mapping.AbstractQNameEndpointMapping
getLookupKeyForMessage, validateLookupKey
 
Methods inherited from class org.springframework.ws.server.endpoint.mapping.AbstractMapBasedEndpointMapping
getEndpointInternal, initApplicationContext, lookupEndpoint, registerEndpoint, setEndpointMap, setLazyInitEndpoints, setMappings, setRegisterBeanNames
 
Methods inherited from class org.springframework.ws.server.endpoint.mapping.AbstractEndpointMapping
createEndpointInvocationChain, getDefaultEndpoint, getEndpoint, getInterceptors, getOrder, initInterceptors, resolveStringEndpoint, setDefaultEndpoint, setInterceptors, setOrder
 
Methods inherited from class org.springframework.context.support.ApplicationObjectSupport
getApplicationContext, getMessageSourceAccessor, initApplicationContext, isContextRequired, requiredContextClass, setApplicationContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PayloadRootQNameEndpointMapping

public PayloadRootQNameEndpointMapping()
Deprecated. 
Method Detail

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

Spring Web Services Framework

Copyright © 2005-2013 The Spring Web Services Framework. All Rights Reserved.