Verifies if the container-managed transaction in the session bean is following
the JSR 220.The items covered in this test are: 12.6.2.6.
author: Gisele Pinheiro Souza author: Eduardo Studzinski Estima de Castro
Method Summary
public void
testGetRollbackOnly() Verifies if the EJBContext.getRollbackOnly() works properly.
public void
testSetRollbackOnly() Verifies if the EJBContext.setRollbackOnly() works properly.
public void
testUsingClientTrans() Verifies if the container uses the same transaction that the client.
Verifies if the EJBContext.getRollbackOnly() works properly.
For the attribute never, the container must throw an IllegalStateException.
throws: Exception - if an error during the test occurs.
Verifies if the EJBContext.setRollbackOnly() works properly.
For the attribute never, the container must throw an IllegalStateException.
throws: Exception - if an error during the test occurs.
Verifies if the container uses the same transaction that the client. The
transaction attribute never throws an error if the method is called when
the client has a transaction context.
throws: Exception - if an error during the tests occurs.
Fields inherited from org.ow2.easybeans.tests.transaction.containermanaged.base.TestContainerTransactionBase