org.objectweb.jotm.jtests.conform
Class XABoolean
java.lang.Object
|
+--org.objectweb.jotm.jtests.conform.XAObject
|
+--org.objectweb.jotm.jtests.conform.XABoolean
- All Implemented Interfaces:
- javax.transaction.xa.XAResource
- public class XABoolean
- extends XAObject
A boolean object 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 |
Constructor Summary |
XABoolean(boolean value)
|
XABoolean(boolean value,
boolean failOnCommit)
|
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 |
XABoolean
public XABoolean(boolean value,
boolean failOnCommit)
XABoolean
public XABoolean(boolean value)
setCurrentBoolean
public void setCurrentBoolean(boolean value)
throws javax.transaction.xa.XAException
javax.transaction.xa.XAException
getPersistentBoolean
public boolean getPersistentBoolean()
getCurrentBoolean
public boolean getCurrentBoolean()
throws javax.transaction.xa.XAException
javax.transaction.xa.XAException