cgl.narada.wsinfra.wsr.impl
Class WsrResponseCreatorImpl

java.lang.Object
  extended by cgl.narada.wsinfra.wsr.impl.WsrResponseCreatorImpl
All Implemented Interfaces:
WsrResponseCreator

public class WsrResponseCreatorImpl
extends Object
implements WsrResponseCreator

This class is will create response document


Method Summary
 void addResponse(EnvelopeDocument envelopeDocument, ResponseDocument responseDocument)
          This method adds the response element to the same envelopes document in the header
static WsrResponseCreator getInstance()
          This method returns instancs of this class
 EnvelopeDocument getResponse(AddressingHeaders addressingHeaders, EndpointReferenceType wsrSinkEpr)
           
 EnvelopeDocument getResponse(EndpointReferenceType wsrSinkEpr, EndpointReferenceType wsrSourceEpr)
          Gets the EnvelopeDocument containing Simple Response Document In Header of the EnvelopeDocument Wsa:To Element would be replyTo Wsa:From Element would be wsrSinkEpr and Wsa:Action Element would be processResponse This method is used when replyTo element is present in element and when replypattern would be Callback or element when replyTo element is present
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static WsrResponseCreator getInstance()
This method returns instancs of this class


addResponse

public void addResponse(EnvelopeDocument envelopeDocument,
                        ResponseDocument responseDocument)
This method adds the response element to the same envelopes document in the header

Specified by:
addResponse in interface WsrResponseCreator

getResponse

public EnvelopeDocument getResponse(AddressingHeaders addressingHeaders,
                                    EndpointReferenceType wsrSinkEpr)
Specified by:
getResponse in interface WsrResponseCreator

getResponse

public EnvelopeDocument getResponse(EndpointReferenceType wsrSinkEpr,
                                    EndpointReferenceType wsrSourceEpr)
Gets the EnvelopeDocument containing Simple Response Document In Header of the EnvelopeDocument Wsa:To Element would be replyTo Wsa:From Element would be wsrSinkEpr and Wsa:Action Element would be processResponse This method is used when replyTo element is present in element and when replypattern would be Callback or element when replyTo element is present

Specified by:
getResponse in interface WsrResponseCreator


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