org.openorb.ots.jta
public class XACoordinator extends ResourcePOA
Constructor Summary | |
---|---|
XACoordinator(POA poa, otid_t ots_xid, Logger logger)
Constructor |
Method Summary | |
---|---|
void | commit()
Commit a transaction ( 2nd phase of 2PC ) |
void | commit_one_phase()
Commit one phase |
void | endXAResource(XAResource resource, boolean success)
End the usage of an XA resource |
void | forget()
Forget a transaction |
Vote | prepare()
First phase of the 2PC |
void | registerXAResource(XAResource resource)
Add an XA resource. |
void | rollback()
Rollback the transaction ( 2nd phase of 2PC ) |
void | rollback_after_prepare()
This operation is used to rollback all prepared XA resources. |