getEventRecorder().addEvent(new XAResourcePrepareEvent(this, xid, prepareRc));
return prepareRc;
}
public void forget(Xid xid) throws XAException {
getEventRecorder().addEvent(new XAResourceForgetEvent(this, xid));
boolean found = xads.removeInDoubtXid(xid);
if (!found)
throw new BitronixXAException("unknown XID: " + xid, XAException.XAER_INVAL);
}