779780781782783784785786787788789
} } } 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
892893894895896897898899900901902
xid = existingRM.xid(); try { int xaStartJoin = ((theModifier == null) ? XAResource.TMJOIN : theModifier.xaStartParameters(XAResource.TMJOIN)); xaRes.start(xid, xaStartJoin); } catch (XAException ex) {
611612613614615616617618619620621
* 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);
641642643644645646647648649650651
/* * 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);
768769770771772773774775776777778
881882883884885886887888889890891
609610611612613614615616617618619
639640641642643644645646647648649
766767768769770771772773774775776
879880881882883884885886887888889