[jboss-cvs] JBossAS SVN: r83501 - projects/integration/trunk/jboss-profileservice-spi/src/main/java/org/jboss/profileservice/spi.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Jan 27 09:44:07 EST 2009


Author: emuckenhuber
Date: 2009-01-27 09:44:06 -0500 (Tue, 27 Jan 2009)
New Revision: 83501

Modified:
   projects/integration/trunk/jboss-profileservice-spi/src/main/java/org/jboss/profileservice/spi/DeploymentRepository.java
   projects/integration/trunk/jboss-profileservice-spi/src/main/java/org/jboss/profileservice/spi/ProfileService.java
Log:
some minor profileservice-spi updates

Modified: projects/integration/trunk/jboss-profileservice-spi/src/main/java/org/jboss/profileservice/spi/DeploymentRepository.java
===================================================================
--- projects/integration/trunk/jboss-profileservice-spi/src/main/java/org/jboss/profileservice/spi/DeploymentRepository.java	2009-01-27 14:37:47 UTC (rev 83500)
+++ projects/integration/trunk/jboss-profileservice-spi/src/main/java/org/jboss/profileservice/spi/DeploymentRepository.java	2009-01-27 14:44:06 UTC (rev 83501)
@@ -53,7 +53,6 @@
     * 
     * @throws Exception
     */
-   
    public void create() throws Exception;
    
    /**
@@ -64,6 +63,11 @@
    public void load() throws Exception;
    
    /**
+    * Unload the repository;
+    */
+   public void unload();
+   
+   /**
     * Delete the repository.
     * 
     * @throws Exception

Modified: projects/integration/trunk/jboss-profileservice-spi/src/main/java/org/jboss/profileservice/spi/ProfileService.java
===================================================================
--- projects/integration/trunk/jboss-profileservice-spi/src/main/java/org/jboss/profileservice/spi/ProfileService.java	2009-01-27 14:37:47 UTC (rev 83500)
+++ projects/integration/trunk/jboss-profileservice-spi/src/main/java/org/jboss/profileservice/spi/ProfileService.java	2009-01-27 14:44:06 UTC (rev 83501)
@@ -120,9 +120,9 @@
    /**
     * Unregister a profile.
     * 
-    * @param profile
+    * @param key the profile key.
     * @throws NoSuchProfileException if the profile is not registered.
     */
-   public void unregisterProfile(Profile profile) throws NoSuchProfileException;
+   public void unregisterProfile(ProfileKey key) throws NoSuchProfileException;
 
 }




More information about the jboss-cvs-commits mailing list