cgl.narada.wsinfra.wsr
Interface WsrNodeUtils

All Known Implementing Classes:
WsrNodeUtilsImpl

public interface WsrNodeUtils

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


Method Summary
 String getGroupExpiryTime(EnvelopeDocument envelopeDocument)
          Retrieves Group Expiry Time element from the Header of the SOAP Message
 String getGroupId(EnvelopeDocument envelopeDocument)
          Retrieves GroupId Element from the Header of the SOAP message
 String getGroupMaxIdleDuration(EnvelopeDocument envelopeDocument)
          Retrieves Group Max Idle Duration element from the Header of the SOAP Message
 String getLastMessage(EnvelopeDocument envelopeDocument)
          Retrieves last Message element from the Header of the SOAP Message
 String getMessageExchangePattern(EnvelopeDocument envelopeDocument)
          Retrieves Message Exchange Pattern from the Header of the SOAP Message
 String getMExpiryTime(EnvelopeDocument envelopeDocument)
          Retrieves Message Expiry Time element from the Header of the SOAP Message
 PollRequestDocument getPollRequestDocument(EnvelopeDocument envelopeDocument)
          Retrieves PollRequest Element from the Header of the SOAP message.
 String getReplyTo(EnvelopeDocument envelopeDocument)
          Retrieves replyTo element from the Header of the SOAP Message
 RequestDocument getRequestDocument(EnvelopeDocument envelopeDocument)
          Retrieves Request element from the Header of the SOAP message
 ResponseDocument getResponseDocument(EnvelopeDocument envelopeDocument)
          Retrieves Response Element from the Header of the SOAP message.
 String getRPattern(EnvelopeDocument envelopeDocument)
          Retrieves Reply Pattern element from the Header of the Soap Message
 boolean hasGroupId(RequestDocument requestDocument)
          Checks whether GroupId Attribure to MessageId Element exists or not
 boolean hasMessageExpiryTimeElement(RequestDocument requestDocument)
          Checks whether ExpiryTime element exists or not
 boolean hasMessageIDElement(RequestDocument requestDocument)
          Checks whether MessageID element exists or not
 boolean hasRefToMessageIdsElement(PollRequestDocument pollRequestDocument)
          Checks whether RefToMessageIds element exists or not
 boolean hasReplyPatternElement(RequestDocument requestDocument)
          Checks whether ReplyPattern element exists or not
 

Method Detail

getRequestDocument

RequestDocument getRequestDocument(EnvelopeDocument envelopeDocument)
                                   throws WsFaultException
Retrieves Request element from the Header of the SOAP message

Throws:
WsFaultException

getPollRequestDocument

PollRequestDocument getPollRequestDocument(EnvelopeDocument envelopeDocument)
                                           throws WsFaultException
Retrieves PollRequest Element from the Header of the SOAP message.

Throws:
WsFaultException

getResponseDocument

ResponseDocument getResponseDocument(EnvelopeDocument envelopeDocument)
                                     throws WsFaultException
Retrieves Response Element from the Header of the SOAP message.

Throws:
WsFaultException

getGroupId

String getGroupId(EnvelopeDocument envelopeDocument)
                  throws WsFaultException
Retrieves GroupId Element from the Header of the SOAP message

Throws:
WsFaultException

getMessageExchangePattern

String getMessageExchangePattern(EnvelopeDocument envelopeDocument)
                                 throws WsFaultException
Retrieves Message Exchange Pattern from the Header of the SOAP Message

Throws:
WsFaultException

getGroupExpiryTime

String getGroupExpiryTime(EnvelopeDocument envelopeDocument)
                          throws WsFaultException
Retrieves Group Expiry Time element from the Header of the SOAP Message

Throws:
WsFaultException

getGroupMaxIdleDuration

String getGroupMaxIdleDuration(EnvelopeDocument envelopeDocument)
                               throws WsFaultException
Retrieves Group Max Idle Duration element from the Header of the SOAP Message

Throws:
WsFaultException

getMExpiryTime

String getMExpiryTime(EnvelopeDocument envelopeDocument)
                      throws WsFaultException
Retrieves Message Expiry Time element from the Header of the SOAP Message

Throws:
WsFaultException

getRPattern

String getRPattern(EnvelopeDocument envelopeDocument)
                   throws WsFaultException
Retrieves Reply Pattern element from the Header of the Soap Message

Throws:
WsFaultException

getLastMessage

String getLastMessage(EnvelopeDocument envelopeDocument)
                      throws WsFaultException
Retrieves last Message element from the Header of the SOAP Message

Throws:
WsFaultException

getReplyTo

String getReplyTo(EnvelopeDocument envelopeDocument)
                  throws WsFaultException
Retrieves replyTo element from the Header of the SOAP Message

Throws:
WsFaultException

hasMessageIDElement

boolean hasMessageIDElement(RequestDocument requestDocument)
Checks whether MessageID element exists or not


hasGroupId

boolean hasGroupId(RequestDocument requestDocument)
Checks whether GroupId Attribure to MessageId Element exists or not


hasMessageExpiryTimeElement

boolean hasMessageExpiryTimeElement(RequestDocument requestDocument)
Checks whether ExpiryTime element exists or not


hasReplyPatternElement

boolean hasReplyPatternElement(RequestDocument requestDocument)
Checks whether ReplyPattern element exists or not


hasRefToMessageIdsElement

boolean hasRefToMessageIdsElement(PollRequestDocument pollRequestDocument)
Checks whether RefToMessageIds element exists or not



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