[jboss-cvs] JBossAS SVN: r59006 - in trunk/system/src/main/org/jboss: profileservice/spi system/server/profileservice

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Dec 12 17:58:52 EST 2006


Author: scott.stark at jboss.org
Date: 2006-12-12 17:58:46 -0500 (Tue, 12 Dec 2006)
New Revision: 59006

Modified:
   trunk/system/src/main/org/jboss/profileservice/spi/Profile.java
   trunk/system/src/main/org/jboss/system/server/profileservice/VFSBootstrapScannerImpl.java
   trunk/system/src/main/org/jboss/system/server/profileservice/VFSDeployerScannerImpl.java
   trunk/system/src/main/org/jboss/system/server/profileservice/VFSDeploymentScannerImpl.java
   trunk/system/src/main/org/jboss/system/server/profileservice/VFSScanner.java
Log:
Update the remove operations to throw an exception

Modified: trunk/system/src/main/org/jboss/profileservice/spi/Profile.java
===================================================================
--- trunk/system/src/main/org/jboss/profileservice/spi/Profile.java	2006-12-12 20:55:57 UTC (rev 59005)
+++ trunk/system/src/main/org/jboss/profileservice/spi/Profile.java	2006-12-12 22:58:46 UTC (rev 59006)
@@ -55,14 +55,14 @@
     * 
     * @param d the bootstrap
     */
-   void addBootstrap(DeploymentContext d);
+   void addBootstrap(DeploymentContext d) throws Exception;
 
    /**
     * Remove a bootstrap
     * 
     * @param name the name
     */
-   void removeBootstrap(String name);
+   void removeBootstrap(String name) throws Exception;
 
    /**
     * Get a named bootstrap.
@@ -85,14 +85,14 @@
     * 
     * @param d the deployer
     */
-   void addDeployer(DeploymentContext d);
+   void addDeployer(DeploymentContext d) throws Exception;
 
    /**
     * Remove a deployer
     * 
     * @param name the name
     */
-   void removeDeployer(String name);
+   void removeDeployer(String name) throws Exception;
 
    /**
     * Get a named deployer.
@@ -115,14 +115,14 @@
     * 
     * @param d the deployment
     */
-   void addDeployment(DeploymentContext d);
+   void addDeployment(DeploymentContext d) throws Exception;
 
    /**
     * Remove a deployment
     * 
     * @param name the name
     */
-   void removeDeployment(String name);
+   void removeDeployment(String name) throws Exception;
 
    /**
     * Get a named deployment.

Modified: trunk/system/src/main/org/jboss/system/server/profileservice/VFSBootstrapScannerImpl.java
===================================================================
--- trunk/system/src/main/org/jboss/system/server/profileservice/VFSBootstrapScannerImpl.java	2006-12-12 20:55:57 UTC (rev 59005)
+++ trunk/system/src/main/org/jboss/system/server/profileservice/VFSBootstrapScannerImpl.java	2006-12-12 22:58:46 UTC (rev 59006)
@@ -42,7 +42,7 @@
       return deployment;
    }
 
-   protected void remove(Profile profile, String name)
+   protected void remove(Profile profile, String name) throws Exception
    {
       profile.removeBootstrap(name);
    }

Modified: trunk/system/src/main/org/jboss/system/server/profileservice/VFSDeployerScannerImpl.java
===================================================================
--- trunk/system/src/main/org/jboss/system/server/profileservice/VFSDeployerScannerImpl.java	2006-12-12 20:55:57 UTC (rev 59005)
+++ trunk/system/src/main/org/jboss/system/server/profileservice/VFSDeployerScannerImpl.java	2006-12-12 22:58:46 UTC (rev 59006)
@@ -42,7 +42,7 @@
       return deployment;
    }
 
-   protected void remove(Profile profile, String name)
+   protected void remove(Profile profile, String name) throws Exception
    {
       profile.removeDeployer(name);
    }

Modified: trunk/system/src/main/org/jboss/system/server/profileservice/VFSDeploymentScannerImpl.java
===================================================================
--- trunk/system/src/main/org/jboss/system/server/profileservice/VFSDeploymentScannerImpl.java	2006-12-12 20:55:57 UTC (rev 59005)
+++ trunk/system/src/main/org/jboss/system/server/profileservice/VFSDeploymentScannerImpl.java	2006-12-12 22:58:46 UTC (rev 59006)
@@ -42,7 +42,7 @@
       return deployment;
    }
 
-   protected void remove(Profile profile, String name)
+   protected void remove(Profile profile, String name) throws Exception
    {
       profile.removeDeployment(name);
    }

Modified: trunk/system/src/main/org/jboss/system/server/profileservice/VFSScanner.java
===================================================================
--- trunk/system/src/main/org/jboss/system/server/profileservice/VFSScanner.java	2006-12-12 20:55:57 UTC (rev 59005)
+++ trunk/system/src/main/org/jboss/system/server/profileservice/VFSScanner.java	2006-12-12 22:58:46 UTC (rev 59006)
@@ -643,7 +643,7 @@
     * @param profile the profile
     * @param name the name
     */
-   protected abstract void remove(Profile profile, String name);
+   protected abstract void remove(Profile profile, String name) throws Exception;
    
    /**
     * Helper to get the watchURL for a deployment, if different.




More information about the jboss-cvs-commits mailing list