Method Summary |
|
public void | bindResource(XAResource xaResource, boolean writeLock) This method binds a resource to the current transaction bound to this
thread. |
public void | commit(Xid xid, boolean onePhase) This method is responsible for handling the committing of a transaction
identified by the xid. |
public void | end(Xid xid, int flags) The resource manager has dissociated this object from the transaction. |
public static synchronized void | fin() This method removes the object lock factory associated with a class
loader. |
public void | forget(Xid xid) The transaction has been completed and must be forgotten. |
public static synchronized TransactionManager | getInstance() This method returns an instance of the transaction manager singleton. |
public int | getTransactionTimeout() This method returns the transaction timeout for this object. |
public static synchronized void | init() This method creates a new object lock factory singleton for a class
loader. |
public boolean | isSameRM(XAResource xAResource) This method returns true if this object is the resource manager getting
queried. |
public int | prepare(Xid xid) This is called before a transaction is committed. |
public Xid[] | recover(int flags) This method returns the list of transaction branches for this resource
manager. |
public void | rollback(Xid xid) This method is called to roll back the specified transaction. |
public boolean | setTransactionTimeout(int transactionTimeout) This method sets the transaction timeout for this resource manager. |
public void | start(Xid xid, int flags) This method is called to start a transaction on a resource manager. |