622623624625626627628629630631632
* 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);
652653654655656657658659660661662
/* * 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);
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) {
616617618619620621622623624625626
646647648649650651652653654655656
773774775776777778779780781782783
886887888889890891892893894895896