Class TxojEnvironmentBean

  • All Implemented Interfaces:
    TxojEnvironmentBeanMBean

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

      • TxojEnvironmentBean

        public TxojEnvironmentBean()
    • Method Detail

      • getLockStoreDir

        @Deprecated
        public java.lang.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​(java.lang.String lockStoreDir)
        Deprecated.
        Sets the directory path to be used for storing persistent locks.
        Parameters:
        lockStoreDir - the path to the lock directory.
      • getLockStoreType

        public java.lang.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​(java.lang.String lockStoreType)
        Sets the name of the lock store implementation.
        Parameters:
        lockStoreType - the name of the lock store implementation.
      • getMultipleLockStore

        @Deprecated
        public java.lang.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​(java.lang.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 java.lang.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​(java.lang.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.