|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.retek.component.customerorder.UserTransactionTestRunner
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 |
public UserTransactionTestRunner()
Method Detail |
public static final void main(java.lang.String[] args)
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |