Package com.arjuna.mwtests.wstx.common

Examples of com.arjuna.mwtests.wstx.common.DemoParticipant


 
  try
  {
      UserTransaction ut = UserTransactionFactory.userTransaction();
      TransactionManager tm = TransactionManagerFactory.transactionManager();
      DemoParticipant p = new DemoParticipant(ut.identifier());
     
      ut.begin();
     
      tm.enlist(p);
     
      ut.commit();

      passed = p.passed();
  }
  catch (Exception ex)
  {
      ex.printStackTrace();
  }
View Full Code Here

TOP

Related Classes of com.arjuna.mwtests.wstx.common.DemoParticipant

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.