FileDocCategorySizeDatePackage
StatelessBean.javaAPI DocJBoss 4.2.12255Fri Jul 13 20:53:30 BST 2007org.jboss.ejb3.test.bmt

StatelessBean

public class StatelessBean extends Object implements StatelessLocal
Comment
author
Bill Burke
version
$Revision: 60233 $

Fields Summary
UserTransaction
ut
TransactionManager
tm
Constructors Summary
Methods Summary
public voidbeginCommitEnd()

      if (tm.getTransaction() != null) throw new TestException("THERE IS AN EXISTING TRANSACTION");
      ut.begin();
      ut.commit();
   
public voidbeginNoEnd()

      if (tm.getTransaction() != null) throw new TestException("THERE IS AN EXISTING TRANSACTION");
      ut.begin();
   
public voidbeginRollbackEnd()

      if (tm.getTransaction() != null) throw new TestException("THERE IS AN EXISTING TRANSACTION");
      ut.begin();
      ut.rollback();