Methods Summary |
---|
public void | begin()
current = new DummyTransaction(this);
current.begin();
|
public void | commit()
current.commit();
|
void | endCurrent(DummyTransaction tx)
if (current==tx) current=null;
|
public DummyTransaction | getCurrent()
return current;
|
public int | getStatus()
return current.getStatus();
|
public javax.transaction.Transaction | getTransaction()
return current;
|
public void | resume(javax.transaction.Transaction tx)
current = (DummyTransaction) tx;
|
public void | rollback()
current.rollback();
|
public void | setRollbackOnly()
current.setRollbackOnly();
|
public void | setTransactionTimeout(int t)
|
public javax.transaction.Transaction | suspend()
Transaction result = current;
current = null;
return result;
|