[jboss-cvs] JBossAS SVN: r85227 - trunk/system/src/main/org/jboss/system/server/profileservice/hotdeploy.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Mar 4 10:02:25 EST 2009


Author: emuckenhuber
Date: 2009-03-04 10:02:25 -0500 (Wed, 04 Mar 2009)
New Revision: 85227

Modified:
   trunk/system/src/main/org/jboss/system/server/profileservice/hotdeploy/HDScanner.java
Log:
move scanExceutor to create, so that it does not need to be started, but it can be enabled afterwards.

Modified: trunk/system/src/main/org/jboss/system/server/profileservice/hotdeploy/HDScanner.java
===================================================================
--- trunk/system/src/main/org/jboss/system/server/profileservice/hotdeploy/HDScanner.java	2009-03-04 14:56:01 UTC (rev 85226)
+++ trunk/system/src/main/org/jboss/system/server/profileservice/hotdeploy/HDScanner.java	2009-03-04 15:02:25 UTC (rev 85227)
@@ -192,7 +192,7 @@
 
    // Operations ----------------------------------------------------
    
-   public void start() throws Exception
+   public void create() throws Exception
    {
       // Default to a single thread executor
       if( scanExecutor == null )
@@ -207,6 +207,11 @@
             }
         );
       }
+   }
+   
+   
+   public void start() throws Exception
+   {
       activeScan = scanExecutor.scheduleWithFixedDelay(this, 0,
             scanPeriod, TimeUnit.MILLISECONDS);
    }




More information about the jboss-cvs-commits mailing list