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

DeploymentDescriptorStatelessBean

public class DeploymentDescriptorStatelessBean extends Object implements DeploymentDescriptorStatelessLocal
version
$Revision: 60233 $
author
William DeCoste

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();