org.openorb.ots.jta
public class Transaction extends Object implements Transaction
Constructor Summary | |
---|---|
Transaction(Current curr, POA poa, ORB orb, Logger logger)
Constructor |
Method Summary | |
---|---|
void | commit()
Commit the current transaction |
boolean | delistResource(XAResource resource, int flag)
Delist a resource from the current transaction |
boolean | enlistResource(XAResource resource)
Enlist a new resource for the current transaction. |
int | getStatus()
Return the transaction status. |
void | registerSynchronization(Synchronization synchro)
Register a new synchronization object |
void | rollback()
Rollback a transaction |
void | setRollbackOnly()
Set the current transaction to be only rolledback |