cgl.narada.wsinfra.wsrm.impl
Class WsrmNodeUtilsImpl

java.lang.Object
  extended by cgl.narada.wsinfra.wsrm.impl.WsrmNodeUtilsImpl
All Implemented Interfaces:
WsrmNodeUtils

public class WsrmNodeUtilsImpl
extends Object
implements WsrmNodeUtils

This is a utility class which faciliates the retrieval of elements pertaining to WSRM that reside in the SOAP enevelope.


Method Summary
 AckRequestedDocument getAckRequested(EnvelopeDocument envelopeDocument)
          Retrieves the AckRequested document from within the specified XmlCursor
 CreateSequenceDocument getCreateSequenceDocument(EnvelopeDocument envelopeDocument)
          Retrieves element from the body of the SOAP message
 CreateSequenceResponseDocument getCreateSequenceResponseDocument(EnvelopeDocument envelopeDocument)
          Retrieves element from the body of the SOAP message.
 IdentifierDocument getIdentifierDocument(XmlCursor xmlCursor)
          Retrieves the IdentifierDocument from within the speicified XmlCursor
static WsrmNodeUtils getInstance()
           
 SequenceAcknowledgementDocument getSequenceAcknowledgement(EnvelopeDocument envelopeDocument)
          Retrieves the Sequence Acknowledgement document from within the specified XmlCursor
 SequenceDocument getSequenceDocument(EnvelopeDocument envelopeDocument)
          Retrieves the SequenceDocument from within the specified XmlCursor
 TerminateSequenceDocument getTerminateSequenceDocument(EnvelopeDocument envelopeDocument)
          Retrieves element from the body of the SOAP message.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static WsrmNodeUtils getInstance()

getCreateSequenceDocument

public CreateSequenceDocument getCreateSequenceDocument(EnvelopeDocument envelopeDocument)
                                                 throws WsFaultException
Retrieves element from the body of the SOAP message

Specified by:
getCreateSequenceDocument in interface WsrmNodeUtils
Throws:
WsFaultException

getCreateSequenceResponseDocument

public CreateSequenceResponseDocument getCreateSequenceResponseDocument(EnvelopeDocument envelopeDocument)
                                                                 throws WsFaultException
Retrieves element from the body of the SOAP message.

Specified by:
getCreateSequenceResponseDocument in interface WsrmNodeUtils
Throws:
WsFaultException

getTerminateSequenceDocument

public TerminateSequenceDocument getTerminateSequenceDocument(EnvelopeDocument envelopeDocument)
                                                       throws WsFaultException
Retrieves element from the body of the SOAP message.

Specified by:
getTerminateSequenceDocument in interface WsrmNodeUtils
Throws:
WsFaultException

getIdentifierDocument

public IdentifierDocument getIdentifierDocument(XmlCursor xmlCursor)
                                         throws WsFaultException
Retrieves the IdentifierDocument from within the speicified XmlCursor

Specified by:
getIdentifierDocument in interface WsrmNodeUtils
Throws:
WsFaultException

getSequenceAcknowledgement

public SequenceAcknowledgementDocument getSequenceAcknowledgement(EnvelopeDocument envelopeDocument)
                                                           throws WsFaultException
Retrieves the Sequence Acknowledgement document from within the specified XmlCursor

Specified by:
getSequenceAcknowledgement in interface WsrmNodeUtils
Throws:
WsFaultException

getAckRequested

public AckRequestedDocument getAckRequested(EnvelopeDocument envelopeDocument)
                                     throws WsFaultException
Retrieves the AckRequested document from within the specified XmlCursor

Specified by:
getAckRequested in interface WsrmNodeUtils
Throws:
WsFaultException

getSequenceDocument

public SequenceDocument getSequenceDocument(EnvelopeDocument envelopeDocument)
                                     throws WsFaultException
Retrieves the SequenceDocument from within the specified XmlCursor

Specified by:
getSequenceDocument in interface WsrmNodeUtils
Throws:
WsFaultException


For comments and suggestions please send e-mail to The NaradaBrokering Project