org.openorb.ots.jta
public class TransactionManager extends Object implements TransactionManager
Constructor Summary | |
---|---|
TransactionManager(ORB orb, POA poa, Logger logger)
Constructor. |
Method Summary | |
---|---|
void | begin()
Create a new transaction |
void | commit()
Commit the current transaction |
int | getStatus()
Return the transaction status. |
Transaction | getTransaction()
Return the current transaction object. |
void | resume(Transaction t)
Resume a suspended transaction. |
void | rollback()
Rollback a transaction |
void | setRollbackOnly()
Set the current transaction to be only rolledback |
void | setTransactionTimeout(int seconds)
Set the transaction timeout. |
Transaction | suspend()
Suspend the current transaction |