continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r483112 - in /maven/continuum/trunk/continuum-store/src/main: java/org/apache/maven/continuum/store/JdoContinuumStore.java resources/META-INF/plexus/components.xml
Date Wed, 06 Dec 2006 15:24:40 GMT
Author: evenisse
Date: Wed Dec  6 07:24:39 2006
New Revision: 483112

URL: http://svn.apache.org/viewvc?view=rev&rev=483112
Log:
Remove PersistenceManagerFactory for users because it isn't in defined in continuum.

Modified:
    maven/continuum/trunk/continuum-store/src/main/java/org/apache/maven/continuum/store/JdoContinuumStore.java
    maven/continuum/trunk/continuum-store/src/main/resources/META-INF/plexus/components.xml

Modified: maven/continuum/trunk/continuum-store/src/main/java/org/apache/maven/continuum/store/JdoContinuumStore.java
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-store/src/main/java/org/apache/maven/continuum/store/JdoContinuumStore.java?view=diff&rev=483112&r1=483111&r2=483112
==============================================================================
--- maven/continuum/trunk/continuum-store/src/main/java/org/apache/maven/continuum/store/JdoContinuumStore.java
(original)
+++ maven/continuum/trunk/continuum-store/src/main/java/org/apache/maven/continuum/store/JdoContinuumStore.java
Wed Dec  6 07:24:39 2006
@@ -71,19 +71,12 @@
      */
     private JdoFactory continuumJdoFactory;
 
-    /**
-     * @plexus.requirement
-     */
-    private JdoFactory usersJdoFactory;
-
     // ----------------------------------------------------------------------
     //
     // ----------------------------------------------------------------------
 
     private PersistenceManagerFactory continuumPmf;
 
-    private PersistenceManagerFactory usersPmf;
-
     // ----------------------------------------------------------------------
     // Fetch Groups
     // ----------------------------------------------------------------------
@@ -110,7 +103,6 @@
         throws InitializationException
     {
         continuumPmf = continuumJdoFactory.getPersistenceManagerFactory();
-        usersPmf = usersJdoFactory.getPersistenceManagerFactory();
     }
 
     // ----------------------------------------------------------------------
@@ -1369,7 +1361,6 @@
     public void closeStore()
     {
         closePersistenceManagerFactory( continuumPmf, 1 );
-        closePersistenceManagerFactory( usersPmf, 1 );
     }
 
     public Collection getAllProjectGroupsWithTheLot()

Modified: maven/continuum/trunk/continuum-store/src/main/resources/META-INF/plexus/components.xml
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-store/src/main/resources/META-INF/plexus/components.xml?view=diff&rev=483112&r1=483111&r2=483112
==============================================================================
--- maven/continuum/trunk/continuum-store/src/main/resources/META-INF/plexus/components.xml
(original)
+++ maven/continuum/trunk/continuum-store/src/main/resources/META-INF/plexus/components.xml
Wed Dec  6 07:24:39 2006
@@ -10,11 +10,6 @@
           <role-hint>continuum</role-hint>
           <field-name>continuumJdoFactory</field-name>
         </requirement>
-        <requirement>
-          <role>org.codehaus.plexus.jdo.JdoFactory</role>
-          <role-hint>users</role-hint>
-          <field-name>usersJdoFactory</field-name>
-        </requirement>
       </requirements>
     </component>
   </components>



Mime
View raw message