org.jboss.test.cmp2.cmrstress
Class CMRStressTestCase.CMRTest

java.lang.Object
  extended byorg.jboss.test.cmp2.cmrstress.CMRStressTestCase.CMRTest
All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
CMRStressTestCase (src)

public static class CMRStressTestCase.CMRTest
extends java.lang.Object
implements java.lang.Runnable

This nested Runnable simply invokes a method of the specified parent bean many times in a loop. The parent bean method accesses its CMR collection of child beans and iterates over it.


Constructor Summary
CMRStressTestCase.CMRTest(java.lang.String parentpk, int loops)
           
 
Method Summary
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CMRStressTestCase.CMRTest

public CMRStressTestCase.CMRTest(java.lang.String parentpk,
                                 int loops)
                          throws java.lang.Exception
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable