[jboss-svn-commits] JBL Code SVN: r37767 - labs/jbosstm/branches/JBOSSTS_4_15_0_Final/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/common.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Fri Dec 2 11:51:46 EST 2011


Author: jhalliday
Date: 2011-12-02 11:51:45 -0500 (Fri, 02 Dec 2011)
New Revision: 37767

Modified:
   labs/jbosstm/branches/JBOSSTS_4_15_0_Final/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/common/CoordinatorEnvironmentBean.java
   labs/jbosstm/branches/JBOSSTS_4_15_0_Final/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/common/CoordinatorEnvironmentBeanMBean.java
   labs/jbosstm/branches/JBOSSTS_4_15_0_Final/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/common/ObjectStoreEnvironmentBean.java
Log:
update arjunacore EnvironmentBeans. JBTM-991


Modified: labs/jbosstm/branches/JBOSSTS_4_15_0_Final/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/common/CoordinatorEnvironmentBean.java
===================================================================
--- labs/jbosstm/branches/JBOSSTS_4_15_0_Final/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/common/CoordinatorEnvironmentBean.java	2011-12-02 15:06:40 UTC (rev 37766)
+++ labs/jbosstm/branches/JBOSSTS_4_15_0_Final/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/common/CoordinatorEnvironmentBean.java	2011-12-02 16:51:45 UTC (rev 37767)
@@ -35,7 +35,6 @@
 @PropertyPrefix(prefix = "com.arjuna.ats.arjuna.coordinator.")
 public class CoordinatorEnvironmentBean implements CoordinatorEnvironmentBeanMBean
 {
-    private volatile String actionStore = HashedActionStore.class.getName();
     private volatile boolean asyncCommit = false;
     private volatile boolean asyncPrepare = false;
     private volatile boolean asyncRollback = false;
@@ -60,7 +59,7 @@
     private volatile long txReaperCancelWaitPeriod = TransactionReaper.defaultCancelWaitPeriod;
     private volatile long txReaperCancelFailWaitPeriod = TransactionReaper.defaultCancelFailWaitPeriod;
     private volatile int txReaperZombieMax = TransactionReaper.defaultZombieMax;
-    
+
     private volatile int defaultTimeout = 60; // seconds
     private volatile boolean transactionStatusManagerEnable = true;
 
@@ -78,29 +77,6 @@
     private volatile boolean finalizeBasicActions = false;
 
     /**
-     * Returns the symbolic name for the action store type.
-     *
-     * Default: "HashedActionStore"
-     * Equivalent deprecated property: com.arjuna.ats.arjuna.coordinator.actionStore
-     *
-     * @return the action store name.
-     */
-    public String getActionStore()
-    {
-        return actionStore;
-    }
-
-    /**
-     * Sets the symbolic name of the action store.
-     *
-     * @param actionStore the action store name.
-     */
-    public void setActionStore(String actionStore)
-    {
-        this.actionStore = actionStore;
-    }
-
-    /**
      * Returns true if anynchronous commit behaviour is enabled.
      *
      * Default: false
@@ -580,7 +556,7 @@
 
     /**
      * Returns an instance of a class implementing CheckedActionFactory.
-     * 
+     *
      * If there is no pre-instantiated instance set and classloading or instantiation fails,
      * this method will log appropriate warning and return null, not throw an exception.
      *
@@ -624,8 +600,8 @@
             }
         }
     }
-    
 
+
     /**
      * Whether to use the alternative abstract record ordering.
      * At present this is not fully documented, so stay away!

Modified: labs/jbosstm/branches/JBOSSTS_4_15_0_Final/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/common/CoordinatorEnvironmentBeanMBean.java
===================================================================
--- labs/jbosstm/branches/JBOSSTS_4_15_0_Final/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/common/CoordinatorEnvironmentBeanMBean.java	2011-12-02 15:06:40 UTC (rev 37766)
+++ labs/jbosstm/branches/JBOSSTS_4_15_0_Final/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/common/CoordinatorEnvironmentBeanMBean.java	2011-12-02 16:51:45 UTC (rev 37767)
@@ -27,8 +27,6 @@
  */
 public interface CoordinatorEnvironmentBeanMBean
 {
-    String getActionStore();
-
     boolean isAsyncCommit();
 
     boolean isAsyncPrepare();

Modified: labs/jbosstm/branches/JBOSSTS_4_15_0_Final/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/common/ObjectStoreEnvironmentBean.java
===================================================================
--- labs/jbosstm/branches/JBOSSTS_4_15_0_Final/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/common/ObjectStoreEnvironmentBean.java	2011-12-02 15:06:40 UTC (rev 37766)
+++ labs/jbosstm/branches/JBOSSTS_4_15_0_Final/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/common/ObjectStoreEnvironmentBean.java	2011-12-02 16:51:45 UTC (rev 37767)
@@ -231,7 +231,7 @@
     {
         this.localOSRoot = localOSRoot;
     }
-    
+
     /**
      * Returns the ObjectStore directory path.
      *
@@ -282,12 +282,12 @@
     }
 
     /**
-     * Returns the symbolic name for the ObjectStore implementation.
+     * Returns the fully qualified class name for the ObjectStore implementation.
      *
-     * Default: "ShadowNoFileLockStore" TODO test
+     * Default: "com.arjuna.ats.internal.arjuna.objectstore.ShadowNoFileLockStore"
      * Equivalent deprecated property: com.arjuna.ats.arjuna.objectstore.objectStoreType
      *
-     * @return the symbolic name of the ObjectStore implementation.
+     * @return the fully qualified class name of the ObjectStore implementation.
      */
     public String getObjectStoreType()
     {



More information about the jboss-svn-commits mailing list