Class LocalTxMessageXAResource
java.lang.Object
com.sun.ts.tests.common.connector.whitebox.LocalTxMessageXAResource
- All Implemented Interfaces:
XAResource
Be careful..... This class will log a variety of message strings that will be used by client side tests. If you
change any strings in this class, it is likely to result in test failures unless you are sure you know what tests you
are affecting.
-
Field Summary
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
int
boolean
isSameRM
(XAResource other) int
Xid[]
recover
(int flag) void
boolean
setTransactionTimeout
(int seconds) void
-
Constructor Details
-
LocalTxMessageXAResource
public LocalTxMessageXAResource() -
LocalTxMessageXAResource
-
-
Method Details
-
commit
- Specified by:
commit
in interfaceXAResource
- Throws:
XAException
-
start
- Specified by:
start
in interfaceXAResource
- Throws:
XAException
-
end
- Specified by:
end
in interfaceXAResource
- Throws:
XAException
-
forget
- Specified by:
forget
in interfaceXAResource
- Throws:
XAException
-
getTransactionTimeout
- Specified by:
getTransactionTimeout
in interfaceXAResource
- Throws:
XAException
-
isSameRM
- Specified by:
isSameRM
in interfaceXAResource
- Throws:
XAException
-
prepare
- Specified by:
prepare
in interfaceXAResource
- Throws:
XAException
-
recover
- Specified by:
recover
in interfaceXAResource
- Throws:
XAException
-
rollback
- Specified by:
rollback
in interfaceXAResource
- Throws:
XAException
-
setTransactionTimeout
- Specified by:
setTransactionTimeout
in interfaceXAResource
- Throws:
XAException
-