org.jboss.test.perf.ejb
Class PerfTestSessionBean

java.lang.Object
  extended byorg.jboss.test.util.ejb.EnterpriseSupport (src) 
      extended byorg.jboss.test.util.ejb.SessionSupport (src) 
          extended byorg.jboss.test.perf.ejb.PerfTestSessionBean
All Implemented Interfaces:
EnterpriseBean (src) , java.io.Serializable, SessionBean (src)

public class PerfTestSessionBean
extends SessionSupport (src)

A session bean that tests intra-VM EJB call invocation overhead. The runProbeTests method accepts the number of iterations and returns a simple html report showing the output of each test run against the Probe session.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jboss.test.util.ejb.SessionSupport (src)
log, sessionCtx
 
Constructor Summary
PerfTestSessionBean()
           
 
Method Summary
 PerfResult (src) runProbeLocalTests(int iterationCount)
          Run the unit tests using ProbeLocal and return a report as a string
 PerfResult (src) runProbeTests(int iterationCount)
          Run the unit tests using Probe and return a report as a string
 
Methods inherited from class org.jboss.test.util.ejb.SessionSupport (src)
ejbActivate, ejbCreate, ejbPassivate, ejbRemove, setSessionContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PerfTestSessionBean

public PerfTestSessionBean()
Method Detail

runProbeTests

public PerfResult (src)  runProbeTests(int iterationCount)
Run the unit tests using Probe and return a report as a string


runProbeLocalTests

public PerfResult (src)  runProbeLocalTests(int iterationCount)
Run the unit tests using ProbeLocal and return a report as a string