Class PayloadRootQNameEndpointMapping

All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware, org.springframework.core.Ordered, EndpointMapping

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: