this.resource = resource; this.overrideSameRM = overrideSameRM;
resource.commit(xid, onePhase);
resource.end(xid, flags);
resource.forget(xid);
return resource.getTransactionTimeout();
return this.resource;
if(overrideSameRM != null) { return overrideSameRM.booleanValue(); } if(xaRes instanceof JcaXAResourceWrapper) { final JcaXAResourceWrapper jca = (JcaXAResourceWrapper)xaRes; xaRes = jca.getUnderlyingXAResource(); } final XAResource current = getUnderlyingXAResource(); return current.isSameRM(xaRes);
return resource.prepare(xid);
return resource.recover(flag);
resource.rollback(xid);
return resource.setTransactionTimeout(seconds);
resource.start(xid, flags);