A XAResourceWrapper.
| Method from org.jboss.resource.connectionmanager.xa.XAResourceWrapper Detail: |
public void commit(Xid xid,
boolean onePhase) throws XAException {
xid = convertXid(xid);
xaResource.commit(xid, onePhase);
}
|
public void end(Xid xid,
int flags) throws XAException {
xid = convertXid(xid);
xaResource.end(xid, flags);
}
|
public void forget(Xid xid) throws XAException {
xid = convertXid(xid);
xaResource.forget(xid);
}
|
public int getTransactionTimeout() throws XAException {
return xaResource.getTransactionTimeout();
}
|
public boolean isSameRM(XAResource resource) throws XAException {
if (overrideRmValue != null)
{
if(log.isTraceEnabled())
{
log.trace("Executing isSameRM with override value" + overrideRmValue + " for XAResourceWrapper" + this);
}
return overrideRmValue.booleanValue();
}
else
{
if(resource instanceof XAResourceWrapper)
{
XAResourceWrapper other = (XAResourceWrapper)resource;
return xaResource.isSameRM(other.getResource());
}else
{
return xaResource.isSameRM(resource);
}
}
}
|
public int prepare(Xid xid) throws XAException {
xid = convertXid(xid);
return xaResource.prepare(xid);
}
|
public Xid[] recover(int flag) throws XAException {
return xaResource.recover(flag);
}
|
public void rollback(Xid xid) throws XAException {
xid = convertXid(xid);
xaResource.rollback(xid);
}
|
public boolean setTransactionTimeout(int flag) throws XAException {
return xaResource.setTransactionTimeout(flag);
}
|
public void start(Xid xid,
int flags) throws XAException {
xid = convertXid(xid);
xaResource.start(xid, flags);
}
|
public String toString() {
return super.toString();
}
|