| java.lang.Object org.objectweb.jonas.jdbc.XAResourceImpl
XAResourceImpl | public class XAResourceImpl implements XAResource(Code) | | This is an implementation of XAResource used for transaction mgmt
with a JDBC driver. The standard JDBC drivers don't support real
XA, so the prepare will just return OK and work will be done in the
commit/rollback.
|
XAResourceImpl | public XAResourceImpl(ManagedConnectionImpl mc, XAResource xares)(Code) | | XAResourceImpl constructor
Parameters: mc - ManagedConnectionImpl used with this object Parameters: xares - XAResource from DB if supported |
commit | public void commit(Xid xid, boolean onePhase) throws XAException(Code) | | Commit the global transaction specified by xid.
|
forget | public void forget(Xid xid) throws XAException(Code) | | Need to forget the heuristically completed Xid
|
getTransactionTimeout | public int getTransactionTimeout() throws XAException(Code) | | Get the current transaction timeout for this XAResource
|
isSameRM | public boolean isSameRM(XAResource xaRes) throws XAException(Code) | | Determine if the resource manager instance is the same as the
resouce manager being passed in
|
prepare | public int prepare(Xid xid) throws XAException(Code) | | Prepare the Xid for a transaction commit
|
recover | public Xid[] recover(int flag) throws XAException(Code) | | Obtain a list of prepared transaction branches from a resource manager.
|
setTransactionTimeout | public boolean setTransactionTimeout(int seconds) throws XAException(Code) | | Set the current transaction timeout value for this XAResource
|
start | public void start(Xid xid, int flags) throws XAException(Code) | | Start work on this Xid. If TMJOIN is on, then join an existing transaction
already started by the RM.
|
|
|