cgl.narada.wsinfra.wsr.impl
Class WsrRequestCreatorImpl

java.lang.Object
  extended bycgl.narada.wsinfra.wsr.impl.WsrRequestCreatorImpl
All Implemented Interfaces:
WsrRequestCreator

public class WsrRequestCreatorImpl
extends Object
implements WsrRequestCreator

A class which is responsible for creating WSR requests and WSR PollRequests.


Method Summary
 void addRequest(EnvelopeDocument envelopeDocument, RequestDocument requestDocument)
          Adds a Request Document in the header of Envelope Document
static WsrRequestCreator getInstance()
           
 EnvelopeDocument getPollRequest(ToDocument to, EndpointReferenceType wsrSourceEpr, Hashtable groupIdAndRangesTable)
          Create a EnvelopeDocument containing PollRequest Document based on the specified headers.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static WsrRequestCreator getInstance()

getPollRequest

public EnvelopeDocument getPollRequest(ToDocument to,
                                       EndpointReferenceType wsrSourceEpr,
                                       Hashtable groupIdAndRangesTable)
Create a EnvelopeDocument containing PollRequest Document based on the specified headers. The To, From and ReplyTo, FaultTo are appropriately constructed.

Specified by:
getPollRequest in interface WsrRequestCreator

addRequest

public void addRequest(EnvelopeDocument envelopeDocument,
                       RequestDocument requestDocument)
Adds a Request Document in the header of Envelope Document

Specified by:
addRequest in interface WsrRequestCreator