Class TxojEnvironmentBean

java.lang.Object
com.arjuna.ats.txoj.common.TxojEnvironmentBean
All Implemented Interfaces:
TxojEnvironmentBeanMBean

public class TxojEnvironmentBean extends Object implements TxojEnvironmentBeanMBean
A JavaBean containing configuration properties for the transactional object system.
Author:
Jonathan Halliday (jonathan.halliday@redhat.com)
  • Constructor Details

    • TxojEnvironmentBean

      public TxojEnvironmentBean()
  • Method Details

    • getLockStoreDir

      @Deprecated public String getLockStoreDir()
      Deprecated.
      Returns the directory path used for storing persistent locks. Default: {user.dir}/LockStore Equivalent deprecated property: com.arjuna.ats.txoj.lockstore.lockStoreDir
      Specified by:
      getLockStoreDir in interface TxojEnvironmentBeanMBean
      Returns:
      the path to the lock directory.
    • setLockStoreDir

      @Deprecated public void setLockStoreDir(String lockStoreDir)
      Deprecated.
      Sets the directory path to be used for storing persistent locks.
      Parameters:
      lockStoreDir - the path to the lock directory.
    • getLockStoreType

      public String getLockStoreType()
      Returns the name of the lock store implementation. Default: null Equivalent deprecated property: com.arjuna.ats.txoj.lockstore.lockStoreType
      Returns:
      the name of the lock store implementation.
    • setLockStoreType

      public void setLockStoreType(String lockStoreType)
      Sets the name of the lock store implementation.
      Parameters:
      lockStoreType - the name of the lock store implementation.
    • getMultipleLockStore

      @Deprecated public String getMultipleLockStore()
      Deprecated.
      Returns the name of the multiple lock store implementation. Default: null Equivalent deprecated property: com.arjuna.ats.txoj.lockstore.multipleLockStore
      Specified by:
      getMultipleLockStore in interface TxojEnvironmentBeanMBean
      Returns:
      the name of the multiple lock store implementation.
    • setMultipleLockStore

      @Deprecated public void setMultipleLockStore(String multipleLockStore)
      Deprecated.
      Sets the name of the multiple lock store implementation.
      Parameters:
      multipleLockStore - the name of the multiple lock store implementation.
    • getSingleLockStore

      @Deprecated public String getSingleLockStore()
      Deprecated.
      Sets the name of the single lock store implementation. Default: "BasicLockStore" TODO test Equivalent deprecated property: com.arjuna.ats.txoj.lockstore.singleLockStore
      Specified by:
      getSingleLockStore in interface TxojEnvironmentBeanMBean
      Returns:
      the name of the single lock store implementation.
    • setSingleLockStore

      @Deprecated public void setSingleLockStore(String singleLockStore)
      Deprecated.
      Sets the name of the single lock store implementation.
      Parameters:
      singleLockStore - the name of the single lock store implementation.
    • isAllowNestedLocking

      public boolean isAllowNestedLocking()
      Returns if nested locking is allowed or not. Default: true Equivalent deprecated property: com.arjuna.ats.txoj.lockstore.allowNestedLocking
      Specified by:
      isAllowNestedLocking in interface TxojEnvironmentBeanMBean
      Returns:
      true if nested locking is enabled, false otherwise.
    • setAllowNestedLocking

      public void setAllowNestedLocking(boolean allowNestedLocking)
      Sets if nested locking is allowed or not.
      Parameters:
      allowNestedLocking - true to enable, false to disable.