cgl.narada.wsinfra.deployment.impl
Class SoapMessageRouting

java.lang.Object
  extended bycgl.narada.wsinfra.deployment.impl.SoapMessageRouting

public class SoapMessageRouting
extends Object

This is a utility class that can be used by OTHER implementations of the NetworkSubstrate interface. Specifically, this class takes a SOAPMessage and retrieves the contents of the [wsa:To] element, where wsa corresponds to the WS_Addressing schema.


Field Summary
static SoapMessageRouting instance
           
 
Method Summary
 String computeDestination(SOAPMessage soapMessage)
          Computes the destination encapsulated by the [wsa:To] element.
static SoapMessageRouting getInstance()
          Retrieves the instance of this class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instance

public static final SoapMessageRouting instance
Method Detail

getInstance

public static SoapMessageRouting getInstance()
Retrieves the instance of this class. There will be one instance-per-JVM.


computeDestination

public String computeDestination(SOAPMessage soapMessage)
                          throws ProcessingException
Computes the destination encapsulated by the [wsa:To] element.

Throws:
ProcessingException