646647648649650651652653654655656
case TxInfo.NOT_ASSOCIATED: { /* * Resource was associated, but was presumably delisted. */ xaRes.start(info.xid(), XAResource.TMJOIN); info.setState(TxInfo.ASSOCIATED); return true; }
854855856857858859860861862863864
/* * Re-create xid. */ xid = existingRM.xid(); try { xaRes.start(xid, XAResource.TMJOIN); }
10361037103810391040104110421043104410451046
if (status == javax.transaction.Status.STATUS_MARKED_ROLLBACK) { if (XAUtils.canOptimizeDelist(xaRes)) { xaRes.end(info.xid(), XAResource.TMFAIL); xaRes.rollback(info.xid()); info.setState(TxInfo.OPTIMIZED_ROLLBACK); optimizedRollback = true;
10371038103910401041104210431044104510461047
if (status == javax.transaction.Status.STATUS_MARKED_ROLLBACK) { if (XAUtils.canOptimizeDelist(xaRes)) { xaRes.end(info.xid(), XAResource.TMFAIL); xaRes.rollback(info.xid()); info.setState(TxInfo.OPTIMIZED_ROLLBACK); optimizedRollback = true; }
626627628629630631632633634635636
int xaStartResume = ((theModifier == null) ? XAResource.TMRESUME : theModifier .xaStartParameters(XAResource.TMRESUME)); xaRes.start(info.xid(), xaStartResume); info.setState(TxInfo.ASSOCIATED); synchronized (this) {
656657658659660661662663664665666
int xaStartJoin = ((theModifier == null) ? XAResource.TMJOIN : theModifier .xaStartParameters(XAResource.TMJOIN)); xaRes.start(info.xid(), xaStartJoin); info.setState(TxInfo.ASSOCIATED); return true; }
888889890891892893894895896897898
/* * Re-create xid. */ xid = existingRM.xid(); try { int xaStartJoin = ((theModifier == null) ? XAResource.TMJOIN : theModifier.xaStartParameters(XAResource.TMJOIN));
10921093109410951096109710981099110011011102
10931094109510961097109810991100110111021103
11121113111411151116111711181119112011211122
{ case TxInfo.ASSOCIATED: { if ((flags & XAResource.TMSUCCESS) != 0) { xaRes.end(info.xid(), XAResource.TMSUCCESS); info.setState(TxInfo.NOT_ASSOCIATED); } else { if ((flags & XAResource.TMSUSPEND) != 0)