|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.omg.PortableServer.Servant
org.omg.CosTransactions.ResourcePOA
org.openorb.ots.jta.XACoordinator
This class is a coordinator that manages XA Resources.
Constructor Summary | |
XACoordinator(org.omg.PortableServer.POA poa,
otid_t ots_xid,
Logger logger)
Constructor |
Method Summary | |
void |
commit_one_phase()
Commit one phase |
void |
commit()
Commit a transaction ( 2nd phase of 2PC ) |
void |
endXAResource(javax.transaction.xa.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(javax.transaction.xa.XAResource resource)
Add an XA resource. |
void |
rollback_after_prepare()
This operation is used to rollback all prepared XA resources. |
void |
rollback()
Rollback the transaction ( 2nd phase of 2PC ) |
Methods inherited from class org.omg.CosTransactions.ResourcePOA |
_all_interfaces, _invoke, _this, _this |
Methods inherited from class org.omg.PortableServer.Servant |
_default_POA, _get_delegate, _get_interface_def, _is_a, _non_existent, _object_id, _orb, _poa, _set_delegate, _this_object, _this_object |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XACoordinator(org.omg.PortableServer.POA poa, otid_t ots_xid, Logger logger)
Method Detail |
public Vote prepare() throws HeuristicMixed, HeuristicHazard
HeuristicMixed
HeuristicHazard
public void rollback() throws HeuristicCommit, HeuristicMixed, HeuristicHazard
HeuristicCommit
HeuristicMixed
HeuristicHazard
public void commit() throws NotPrepared, HeuristicRollback, HeuristicMixed, HeuristicHazard
NotPrepared
HeuristicRollback
HeuristicMixed
HeuristicHazard
public void commit_one_phase() throws HeuristicHazard
HeuristicHazard
public void forget()
public void rollback_after_prepare() throws HeuristicCommit, HeuristicMixed, HeuristicHazard
HeuristicCommit
HeuristicMixed
HeuristicHazard
public void registerXAResource(javax.transaction.xa.XAResource resource)
public void endXAResource(javax.transaction.xa.XAResource resource, boolean success)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |