com.arjuna.ats.arjuna.coordinator
Class TxControl

java.lang.Object
  extended bycom.arjuna.ats.arjuna.coordinator.TxControl

public class TxControl
extends java.lang.Object

Transaction configuration object. We have a separate object for this so that other classes can enquire of (and use) this information.

Since:
JTS 2.2.
Version:
$Id: TxControl.java 2342 2006-03-30 13:06:17Z nmcl $
Author:
Mark Little (mark@arjuna.com)

Constructor Summary
TxControl()
           
 
Method Summary
static void disable()
           
static void enable()
           
static ClassName getActionStoreType()
           
static boolean getAsyncPrepare()
           
static boolean getMaintainHeuristics()
           
static ObjectStore getStore()
           
static byte[] getXANodeName()
           
static boolean isEnabled()
           
static void setXANodeName(byte[] name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TxControl

public TxControl()
Method Detail

enable

public static final void enable()

disable

public static final void disable()

isEnabled

public static final boolean isEnabled()

getActionStoreType

public static final ClassName getActionStoreType()

getStore

public static final ObjectStore getStore()
Returns:
the ObjectStore implementation which the transaction coordinator will use.
See Also:
ObjectStore

getAsyncPrepare

public static final boolean getAsyncPrepare()

getMaintainHeuristics

public static final boolean getMaintainHeuristics()

getXANodeName

public static final byte[] getXANodeName()

setXANodeName

public static void setXANodeName(byte[] name)