net.bpelunit.framework.control.ext
Class SendPackage

java.lang.Object
  extended by net.bpelunit.framework.control.ext.SendPackage

public class SendPackage
extends java.lang.Object

The send package exists solely for communication with the header processor, allowing it to retrieve the sending SOAP message for extensions and changing the target URL of this send activity if appropriate.

Version:
$Id$
Author:
Philip Mayer

Constructor Summary
SendPackage(java.lang.String targetURL, SOAPMessage soapMessage)
          Creates the send package
 
Method Summary
 SOAPMessage getSoapMessage()
          Returns the outgoing SOAP Message.
 java.lang.String getTargetURL()
          Returns the current target URL
 void setTargetURL(java.lang.String targetURL)
          Sets the current target URL
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SendPackage

public SendPackage(java.lang.String targetURL,
                   SOAPMessage soapMessage)
Creates the send package

Parameters:
targetURL - current target URL
soapMessage - live copy of outgoing SOAP message
Method Detail

getSoapMessage

public SOAPMessage getSoapMessage()
Returns the outgoing SOAP Message. This is a live message, not a copy. Any changes made to it will be reflected in the send activity

Returns:
send SOAP Message

getTargetURL

public java.lang.String getTargetURL()
Returns the current target URL

Returns:

setTargetURL

public void setTargetURL(java.lang.String targetURL)
Sets the current target URL

Parameters:
targetURL -