cgl.narada.wsinfra.benchmark
Class BenchmarkOperations

java.lang.Object
  extended by cgl.narada.wsinfra.benchmark.BenchmarkOperations

public class BenchmarkOperations
extends Object

This is a class which performs some of the operations that we will be benchmarking.


Method Summary
 void addSequenceInfoToEnvelope()
           
 SOAPMessage convertEnvelopeDocument()
          Converts an EnvelopeDocument into a SOAPMessage.
 EnvelopeDocument convertSOAPMessage()
          Converts a SOAPMessage into an EnvelopeDocument.
 EnvelopeDocument createCreateSequenceRequest()
           
 EnvelopeDocument createCreateSequenceResponse()
           
 EnvelopeDocument createEnvelopeDocument()
          Creates a basic envelope document.
 EndpointReferenceType createEpr()
           
 EnvelopeDocument createEprEnvelope()
           
 EnvelopeDocument createEprEnvelopeWithMostWSAFields()
           
 EndpointReferenceType createEprWithReferenceProperties()
           
 EnvelopeDocument createGetStatus()
           
 GetStatusDocument createGetStatusDocument()
           
 EnvelopeDocument createGetStatusResponse()
           
 GetStatusResponseDocument createGetStatusResponseDocument()
           
 RenewDocument createRenewDocument()
           
 EnvelopeDocument createRenewRequest()
           
 EnvelopeDocument createRenewResponse()
           
 RenewResponseDocument createRenewResponseDocument()
           
 SequenceAcknowledgementDocument createSequenceAcknowledgement()
           
 SequenceDocument createSequenceDocument()
           
 void createSequenceTerminatedFault()
           
 SOAPMessage createSOAPMessage()
          Creates a basic SOAP message.
 EnvelopeDocument createSubscribeRequest()
           
 EnvelopeDocument createSubscribeResponse()
           
 SubscribeResponseDocument createSubscribeResponseDocument()
           
 EnvelopeDocument createSubscriptionEnd()
           
 SubscriptionEndDocument createSubscriptionEndDocument()
           
 TerminateSequenceDocument createTerminateSequence()
           
 EnvelopeDocument createUnsubscribe()
           
 EnvelopeDocument createUnsubscribeResponse()
           
static BenchmarkOperations getInstance()
           
 AddressingHeaders parseWsaHeaders()
           
 void performRegExMatching()
           
 void performTopicMatching()
           
 void performXPathMatching()
           
 void performXQueryMatching()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static BenchmarkOperations getInstance()

createEnvelopeDocument

public EnvelopeDocument createEnvelopeDocument()
Creates a basic envelope document.


createSOAPMessage

public SOAPMessage createSOAPMessage()
                              throws Exception
Creates a basic SOAP message.

Throws:
Exception

convertEnvelopeDocument

public SOAPMessage convertEnvelopeDocument()
                                    throws Exception
Converts an EnvelopeDocument into a SOAPMessage.

Throws:
Exception

convertSOAPMessage

public EnvelopeDocument convertSOAPMessage()
                                    throws Exception
Converts a SOAPMessage into an EnvelopeDocument.

Throws:
Exception

createEpr

public EndpointReferenceType createEpr()

createEprWithReferenceProperties

public EndpointReferenceType createEprWithReferenceProperties()

createEprEnvelope

public EnvelopeDocument createEprEnvelope()

createEprEnvelopeWithMostWSAFields

public EnvelopeDocument createEprEnvelopeWithMostWSAFields()

createSubscribeRequest

public EnvelopeDocument createSubscribeRequest()
                                        throws Exception
Throws:
Exception

createSubscribeResponse

public EnvelopeDocument createSubscribeResponse()
                                         throws Exception
Throws:
Exception

createSubscribeResponseDocument

public SubscribeResponseDocument createSubscribeResponseDocument()
                                                          throws Exception
Throws:
Exception

createRenewRequest

public EnvelopeDocument createRenewRequest()
                                    throws Exception
Throws:
Exception

createRenewDocument

public RenewDocument createRenewDocument()
                                  throws Exception
Throws:
Exception

createRenewResponse

public EnvelopeDocument createRenewResponse()
                                     throws Exception
Throws:
Exception

createRenewResponseDocument

public RenewResponseDocument createRenewResponseDocument()
                                                  throws Exception
Throws:
Exception

createUnsubscribe

public EnvelopeDocument createUnsubscribe()
                                   throws Exception
Throws:
Exception

createUnsubscribeResponse

public EnvelopeDocument createUnsubscribeResponse()
                                           throws Exception
Throws:
Exception

createGetStatus

public EnvelopeDocument createGetStatus()
                                 throws Exception
Throws:
Exception

createGetStatusDocument

public GetStatusDocument createGetStatusDocument()
                                          throws Exception
Throws:
Exception

createGetStatusResponse

public EnvelopeDocument createGetStatusResponse()
                                         throws Exception
Throws:
Exception

createGetStatusResponseDocument

public GetStatusResponseDocument createGetStatusResponseDocument()
                                                          throws Exception
Throws:
Exception

createSubscriptionEnd

public EnvelopeDocument createSubscriptionEnd()
                                       throws Exception
Throws:
Exception

createSubscriptionEndDocument

public SubscriptionEndDocument createSubscriptionEndDocument()
                                                      throws Exception
Throws:
Exception

performXPathMatching

public void performXPathMatching()
                          throws Exception
Throws:
Exception

performTopicMatching

public void performTopicMatching()
                          throws Exception
Throws:
Exception

performRegExMatching

public void performRegExMatching()
                          throws Exception
Throws:
Exception

performXQueryMatching

public void performXQueryMatching()
                           throws Exception
Throws:
Exception

parseWsaHeaders

public AddressingHeaders parseWsaHeaders()
                                  throws Exception
Throws:
Exception

createSequenceTerminatedFault

public void createSequenceTerminatedFault()

createCreateSequenceRequest

public EnvelopeDocument createCreateSequenceRequest()

createCreateSequenceResponse

public EnvelopeDocument createCreateSequenceResponse()

createSequenceDocument

public SequenceDocument createSequenceDocument()

addSequenceInfoToEnvelope

public void addSequenceInfoToEnvelope()

createSequenceAcknowledgement

public SequenceAcknowledgementDocument createSequenceAcknowledgement()

createTerminateSequence

public TerminateSequenceDocument createTerminateSequence()


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