commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ohe...@apache.org
Subject svn commit: r1464708 - in /commons/proper/configuration/trunk/src: main/java/org/apache/commons/configuration/reloading/ test/java/org/apache/commons/configuration/reloading/
Date Thu, 04 Apr 2013 19:45:09 GMT
Author: oheger
Date: Thu Apr  4 19:45:08 2013
New Revision: 1464708

URL: http://svn.apache.org/r1464708
Log:
Renamed ManagedReloadingStrategy to ManagedReloadingDetector.

Added:
    commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/reloading/ManagedReloadingDetector.java
      - copied, changed from r1464707, commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/reloading/ManagedReloadingStrategy.java
    commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/reloading/ManagedReloadingDetectorMBean.java
      - copied, changed from r1464707, commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/reloading/ManagedReloadingStrategyMBean.java
    commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/reloading/TestManagedReloadingDetector.java
      - copied, changed from r1464707, commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/reloading/TestManagedReloadingStrategy.java
Removed:
    commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/reloading/ManagedReloadingStrategy.java
    commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/reloading/ManagedReloadingStrategyMBean.java
    commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/reloading/TestManagedReloadingStrategy.java

Copied: commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/reloading/ManagedReloadingDetector.java
(from r1464707, commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/reloading/ManagedReloadingStrategy.java)
URL: http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/reloading/ManagedReloadingDetector.java?p2=commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/reloading/ManagedReloadingDetector.java&p1=commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/reloading/ManagedReloadingStrategy.java&r1=1464707&r2=1464708&rev=1464708&view=diff
==============================================================================
--- commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/reloading/ManagedReloadingStrategy.java
(original)
+++ commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/reloading/ManagedReloadingDetector.java
Thu Apr  4 19:45:08 2013
@@ -27,11 +27,11 @@ import org.apache.commons.logging.LogFac
  * @author Nicolas De loof
  * @version $Id$
  */
-public class ManagedReloadingStrategy implements ReloadingDetector,
-        ManagedReloadingStrategyMBean
+public class ManagedReloadingDetector implements ReloadingDetector,
+        ManagedReloadingDetectorMBean
 {
     /** The logger. */
-    private Log log = LogFactory.getLog(ManagedReloadingStrategy.class);
+    private Log log = LogFactory.getLog(ManagedReloadingDetector.class);
 
     /** A flag whether a reload is required. */
     private volatile boolean reloadingRequired;
@@ -61,7 +61,7 @@ public class ManagedReloadingStrategy im
      * refreshed. This method will typically be called from outside (through an
      * exposed MBean) on behalf of an administrator.
      *
-     * @see org.apache.commons.configuration.reloading.ManagedReloadingStrategyMBean#refresh()
+     * @see org.apache.commons.configuration.reloading.ManagedReloadingDetectorMBean#refresh()
      */
     public void refresh()
     {

Copied: commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/reloading/ManagedReloadingDetectorMBean.java
(from r1464707, commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/reloading/ManagedReloadingStrategyMBean.java)
URL: http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/reloading/ManagedReloadingDetectorMBean.java?p2=commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/reloading/ManagedReloadingDetectorMBean.java&p1=commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/reloading/ManagedReloadingStrategyMBean.java&r1=1464707&r2=1464708&rev=1464708&view=diff
==============================================================================
--- commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/reloading/ManagedReloadingStrategyMBean.java
(original)
+++ commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/reloading/ManagedReloadingDetectorMBean.java
Thu Apr  4 19:45:08 2013
@@ -23,7 +23,7 @@ package org.apache.commons.configuration
  * @author Nicolas De Loof
  * @version $Id$
  */
-public interface ManagedReloadingStrategyMBean
+public interface ManagedReloadingDetectorMBean
 {
     /**
      * Management method to force configuration reload.

Copied: commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/reloading/TestManagedReloadingDetector.java
(from r1464707, commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/reloading/TestManagedReloadingStrategy.java)
URL: http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/reloading/TestManagedReloadingDetector.java?p2=commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/reloading/TestManagedReloadingDetector.java&p1=commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/reloading/TestManagedReloadingStrategy.java&r1=1464707&r2=1464708&rev=1464708&view=diff
==============================================================================
--- commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/reloading/TestManagedReloadingStrategy.java
(original)
+++ commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/reloading/TestManagedReloadingDetector.java
Thu Apr  4 19:45:08 2013
@@ -24,20 +24,20 @@ import org.junit.Before;
 import org.junit.Test;
 
 /**
- * Test case for the ManagedReloadingStrategy class.
+ * Test case for the ManagedReloadingDetector class.
  *
  * @author Nicolas De loof
  * @version $Id$
  */
-public class TestManagedReloadingStrategy
+public class TestManagedReloadingDetector
 {
     /** The instance to be tested. */
-    private ManagedReloadingStrategy strategy;
+    private ManagedReloadingDetector strategy;
 
     @Before
     public void setUp() throws Exception
     {
-        strategy = new ManagedReloadingStrategy();
+        strategy = new ManagedReloadingDetector();
     }
 
     /**



Mime
View raw message