Spring Web Services Framework

org.springframework.ws.soap.server
Class SoapEndpointInvocationChain

java.lang.Object
  extended by org.springframework.ws.server.EndpointInvocationChain
      extended by org.springframework.ws.soap.server.SoapEndpointInvocationChain

public class SoapEndpointInvocationChain
extends EndpointInvocationChain

SOAP-specific subclass of the EndpointInvocationChain. Adds associated actors (SOAP 1.1) or roles (SOAP 1.2). Used by the SoapMessageDispatcher to determine the MustUnderstand headers for particular endpoint.

Since:
1.0.0
Author:
Arjen Poutsma
See Also:
getActorsOrRoles(), SoapMessageDispatcher

Constructor Summary
SoapEndpointInvocationChain(Object endpoint)
          Create new SoapEndpointInvocationChain.
SoapEndpointInvocationChain(Object endpoint, EndpointInterceptor[] interceptors)
          Create new SoapEndpointInvocationChain.
SoapEndpointInvocationChain(Object endpoint, EndpointInterceptor[] interceptors, String[] actorsOrRoles, boolean isUltimateReceiver)
          Create new EndpointInvocationChain.
 
Method Summary
 String[] getActorsOrRoles()
          Gets the actors (SOAP 1.1) or roles (SOAP 1.2) associated with an invocation of this chain and its contained interceptors and endpoint.
 boolean isUltimateReceiver()
          Indicates whether this chain fulfills the SOAP 1.2 Ultimate Receiver role.
 
Methods inherited from class org.springframework.ws.server.EndpointInvocationChain
getEndpoint, getInterceptors
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SoapEndpointInvocationChain

public SoapEndpointInvocationChain(Object endpoint)
Create new SoapEndpointInvocationChain.

Parameters:
endpoint - the endpoint object to invoke

SoapEndpointInvocationChain

public SoapEndpointInvocationChain(Object endpoint,
                                   EndpointInterceptor[] interceptors)
Create new SoapEndpointInvocationChain.

Parameters:
endpoint - the endpoint object to invoke
interceptors - the array of interceptors to apply

SoapEndpointInvocationChain

public SoapEndpointInvocationChain(Object endpoint,
                                   EndpointInterceptor[] interceptors,
                                   String[] actorsOrRoles,
                                   boolean isUltimateReceiver)
Create new EndpointInvocationChain.

Parameters:
endpoint - the endpoint object to invoke
interceptors - the array of interceptors to apply
actorsOrRoles - the array of actorsOrRoles to set
isUltimateReceiver - whether this chain fullfils the SOAP 1.2 Ultimate receiver role
Method Detail

getActorsOrRoles

public String[] getActorsOrRoles()
Gets the actors (SOAP 1.1) or roles (SOAP 1.2) associated with an invocation of this chain and its contained interceptors and endpoint.

Returns:
a string array of URIs for SOAP actors/roles

isUltimateReceiver

public boolean isUltimateReceiver()
Indicates whether this chain fulfills the SOAP 1.2 Ultimate Receiver role. Default is true.


Spring Web Services Framework

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