Package net.sourceforge.jtds.jdbcx
Class JtdsXAResource
java.lang.Object
net.sourceforge.jtds.jdbcx.JtdsXAResource
- All Implemented Interfaces:
XAResource
jTDS implementation of the XAResource interface.
- Version:
- $Id: JtdsXAResource.java,v 1.4 2005-04-28 14:29:30 alin_sinpalean Exp $
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Connection
private final String
private final JtdsXAConnection
Fields inherited from interface javax.transaction.xa.XAResource
TMENDRSCAN, TMFAIL, TMJOIN, TMNOFLAGS, TMONEPHASE, TMRESUME, TMSTARTRSCAN, TMSUCCESS, TMSUSPEND, XA_OK, XA_RDONLY
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
protected JtdsXAConnection
protected String
int
boolean
isSameRM
(XAResource xares) int
Xid[]
recover
(int flags) void
boolean
setTransactionTimeout
(int arg0) void
-
Field Details
-
connection
-
xaConnection
-
rmHost
-
-
Constructor Details
-
JtdsXAResource
-
-
Method Details
-
getResourceManager
-
getRmHost
-
getTransactionTimeout
- Specified by:
getTransactionTimeout
in interfaceXAResource
- Throws:
XAException
-
setTransactionTimeout
- Specified by:
setTransactionTimeout
in interfaceXAResource
- Throws:
XAException
-
isSameRM
- Specified by:
isSameRM
in interfaceXAResource
- Throws:
XAException
-
recover
- Specified by:
recover
in interfaceXAResource
- Throws:
XAException
-
prepare
- Specified by:
prepare
in interfaceXAResource
- Throws:
XAException
-
forget
- Specified by:
forget
in interfaceXAResource
- Throws:
XAException
-
rollback
- Specified by:
rollback
in interfaceXAResource
- Throws:
XAException
-
end
- Specified by:
end
in interfaceXAResource
- Throws:
XAException
-
start
- Specified by:
start
in interfaceXAResource
- Throws:
XAException
-
commit
- Specified by:
commit
in interfaceXAResource
- Throws:
XAException
-