com.retek.component.customerorder
Class UserTransactionTestRunner

java.lang.Object
  extended bycom.retek.component.customerorder.UserTransactionTestRunner

public class UserTransactionTestRunner
extends java.lang.Object

Sample test class which demonstrates the invocation of an EJB operation within a JTA UserTransaction. Tests a rollBack against the UserTransaction. The transaction lookup name can be overriden for the test using the system property 'jta.UserTransaction'. The default for the test program if the property is not set is to use the J2EE standard txn name. J2EE Standard Lookup: -Djta.UserTransaction=java:comp/UserTransaction IBM Txn Lookup : -Djta.UserTransaction=jta/usertransaction JBoss Txn Lookup : -Djta.UserTransaction=UserTransaction The test runner also supports an optional test mode: Rollback mode: -DtestMode=ROLLBACK (default) Commit mode : -DtestMode=COMMIT


Constructor Summary
UserTransactionTestRunner()
           
 
Method Summary
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserTransactionTestRunner

public UserTransactionTestRunner()
Method Detail

main

public static final void main(java.lang.String[] args)


Copyright © 2004 Retek Inc. All Rights Reserved. - Generated at Fri, 10/22/2004 07:28