public class XAResourceJMSImpl extends XAResourceImpl
_activeEmptyTransactions, _proxy, m_txnManger
TMENDRSCAN, TMFAIL, TMJOIN, TMNOFLAGS, TMONEPHASE, TMRESUME, TMSTARTRSCAN, TMSUCCESS, TMSUSPEND, XA_OK, XA_RDONLY
Constructor and Description |
---|
XAResourceJMSImpl(TransactionManager tm,
GSXASessionImpl session,
ISpaceProxy proxy) |
Modifier and Type | Method and Description |
---|---|
void |
action(Transaction txn)
Called by ActionMaker on event
|
void |
commit(Xid xid,
boolean onePhase) |
void |
end(Xid xid,
int flag) |
void |
forget(Xid xid) |
boolean |
isSameRM(XAResource xares) |
int |
prepare(Xid xid) |
void |
rollback(Xid xid) |
void |
start(Xid xid,
int flag) |
String |
toString() |
createGSXid, getRmid, getTransactionTimeout, recover, setTransactionTimeout, startIn
public XAResourceJMSImpl(TransactionManager tm, GSXASessionImpl session, ISpaceProxy proxy)
public void start(Xid xid, int flag) throws XAException
start
in interface XAResource
start
in class XAResourceImpl
XAException
public void end(Xid xid, int flag) throws XAException
end
in interface XAResource
end
in class XAResourceImpl
XAException
public int prepare(Xid xid) throws XAException
prepare
in interface XAResource
prepare
in class XAResourceImpl
XAException
public void commit(Xid xid, boolean onePhase) throws XAException
commit
in interface XAResource
commit
in class XAResourceImpl
XAException
public void rollback(Xid xid) throws XAException
rollback
in interface XAResource
rollback
in class XAResourceImpl
XAException
public void forget(Xid xid) throws XAException
forget
in interface XAResource
forget
in class XAResourceImpl
XAException
public boolean isSameRM(XAResource xares) throws XAException
isSameRM
in interface XAResource
isSameRM
in class XAResourceImpl
XAException
public void action(Transaction txn)
ActionListener
action
in interface ActionListener
action
in class XAResourceImpl
Copyright © GigaSpaces.