public class OracleXAResource extends XAResourceWrapper
m_xacon, subjectTMENDRSCAN, TMFAIL, TMJOIN, TMNOFLAGS, TMONEPHASE, TMRESUME, TMSTARTRSCAN, TMSUCCESS, TMSUSPEND, XA_OK, XA_RDONLY| Constructor and Description |
|---|
OracleXAResource() |
| Modifier and Type | Method and Description |
|---|---|
void |
commit(Xid xid,
boolean flag) |
XAResourceWrapper |
getInstance()
public Xid[] recover(int flag) throws XAException {
throw new XAException("This is to be implemented by sub classes");
}
public void commit(Xid xid, boolean flag) throws XAException{
throw new XAException("This is to be implemented by sub classes");
}
public void rollback(Xid xid) throws XAException{
throw new XAException("This is to be implemented by sub classes");
}
|
Xid[] |
recover(int flag)
Recovers list of xids in transaction table.
|
void |
rollback(Xid xid) |
end, forget, getTransactionTimeout, init, isSameRM, prepare, setTransactionTimeout, startpublic XAResourceWrapper getInstance()
XAResourceWrappergetInstance in class XAResourceWrapperpublic Xid[] recover(int flag) throws XAException
recover in interface XAResourcerecover in class XAResourceWrapperflag - an int valueXid[] valueXAException - if an error occurspublic void commit(Xid xid, boolean flag) throws XAException
commit in interface XAResourcecommit in class XAResourceWrapperXAExceptionpublic void rollback(Xid xid) throws XAException
rollback in interface XAResourcerollback in class XAResourceWrapperXAExceptionCopyright © 2017. All rights reserved.