609610611612613614615616617618619
* Resource instance will still be registered with the * transaction though. */ int xaStartResume = ((theModifier == null) ? XAResource.TMRESUME : theModifier .xaStartParameters(XAResource.TMRESUME)); xaRes.start(info.xid(), xaStartResume); info.setState(TxInfo.ASSOCIATED);
639640641642643644645646647648649
/* * Resource was associated, but was presumably delisted. */ int xaStartJoin = ((theModifier == null) ? XAResource.TMJOIN : theModifier .xaStartParameters(XAResource.TMJOIN)); xaRes.start(info.xid(), xaStartJoin); info.setState(TxInfo.ASSOCIATED);
766767768769770771772773774775776
} } } int xaStartNormal = ((theModifier == null) ? XAResource.TMNOFLAGS : theModifier .xaStartParameters(XAResource.TMNOFLAGS)); xaRes.start(xid, xaStartNormal); associatedWork = true;
856857858859860861862863864865866
xid = existingRM.xid(); try { int xaStartJoin = ((theModifier == null) ? XAResource.TMJOIN : theModifier.xaStartParameters(XAResource.TMJOIN)); xaRes.start(xid, xaStartJoin); } catch (XAException ex) {
} } } int xaStartNormal = ((theModifier == null) ? XAResource.TMNOFLAGS : theModifier .xaStartParameters(XAResource.TMNOFLAGS)); // Pay attention now, this bit is hairy. We need to add a new AbstractRecord (XAResourceRecord) // to the BasicAction, which will thereafter drive its completion. However, the transaction
879880881882883884885886887888889
622623624625626627628629630631632
652653654655656657658659660661662