org.objectweb.jotm.jtests.conform
Class XAInteger
java.lang.Object
|
+--org.objectweb.jotm.jtests.conform.XAObject
|
+--org.objectweb.jotm.jtests.conform.XAInteger
- All Implemented Interfaces:
- javax.transaction.xa.XAResource
- public class XAInteger
- extends XAObject
An integer that supports the 2-PC XA protocol
Created on Oct 15, 2001
- Author:
- Christophe Ney
Fields inherited from interface javax.transaction.xa.XAResource |
TMENDRSCAN, TMFAIL, TMJOIN, TMNOFLAGS, TMONEPHASE, TMRESUME, TMSTARTRSCAN, TMSUCCESS, TMSUSPEND, XA_OK, XA_RDONLY |
Methods inherited from class org.objectweb.jotm.jtests.conform.XAObject |
commit, end, forget, getCurrentValue, getPersistentValue, getTransactionTimeout, isDirty, isSameRM, prepare, recover, rollback, setCurrentValue, setLogWriter, setTransactionTimeout, start, toString |
XAInteger
public XAInteger(int value,
boolean failOnCommit)
XAInteger
public XAInteger(int value)
setCurrentInteger
public void setCurrentInteger(int value)
throws javax.transaction.xa.XAException
javax.transaction.xa.XAException
getPersistentInteger
public int getPersistentInteger()
getCurrentInteger
public int getCurrentInteger()
throws javax.transaction.xa.XAException
javax.transaction.xa.XAException