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

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
XABoolean(boolean value)
           
XABoolean(boolean value, boolean failOnCommit)
           
 
Method Summary
 boolean getCurrentBoolean()
           
 boolean getPersistentBoolean()
           
 void setCurrentBoolean(boolean value)
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XABoolean

public XABoolean(boolean value,
                 boolean failOnCommit)

XABoolean

public XABoolean(boolean value)
Method Detail

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