com.arjuna.ats.arjuna.coordinator
Class TxControl
java.lang.Object
com.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)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TxControl
public TxControl()
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)