roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agillil...@apache.org
Subject svn commit: r552030 - in /roller/trunk/apps/planet: src/java/org/apache/roller/planet/business/hibernate/ src/java/org/apache/roller/planet/business/jpa/ web/WEB-INF/classes/
Date Fri, 29 Jun 2007 20:54:09 GMT
Author: agilliland
Date: Fri Jun 29 13:54:07 2007
New Revision: 552030

URL: http://svn.apache.org/viewvc?view=rev&rev=552030
Log:
rename guice modules so that the class names are unique.


Added:
    roller/trunk/apps/planet/src/java/org/apache/roller/planet/business/hibernate/HibernatePlanetModule.java
      - copied, changed from r552006, roller/trunk/apps/planet/src/java/org/apache/roller/planet/business/hibernate/PlanetModule.java
    roller/trunk/apps/planet/src/java/org/apache/roller/planet/business/jpa/JPAPlanetModule.java
      - copied, changed from r552006, roller/trunk/apps/planet/src/java/org/apache/roller/planet/business/jpa/PlanetModule.java
Removed:
    roller/trunk/apps/planet/src/java/org/apache/roller/planet/business/hibernate/PlanetModule.java
    roller/trunk/apps/planet/src/java/org/apache/roller/planet/business/jpa/PlanetModule.java
Modified:
    roller/trunk/apps/planet/web/WEB-INF/classes/planet.properties

Copied: roller/trunk/apps/planet/src/java/org/apache/roller/planet/business/hibernate/HibernatePlanetModule.java
(from r552006, roller/trunk/apps/planet/src/java/org/apache/roller/planet/business/hibernate/PlanetModule.java)
URL: http://svn.apache.org/viewvc/roller/trunk/apps/planet/src/java/org/apache/roller/planet/business/hibernate/HibernatePlanetModule.java?view=diff&rev=552030&p1=roller/trunk/apps/planet/src/java/org/apache/roller/planet/business/hibernate/PlanetModule.java&r1=552006&p2=roller/trunk/apps/planet/src/java/org/apache/roller/planet/business/hibernate/HibernatePlanetModule.java&r2=552030
==============================================================================
--- roller/trunk/apps/planet/src/java/org/apache/roller/planet/business/hibernate/PlanetModule.java
(original)
+++ roller/trunk/apps/planet/src/java/org/apache/roller/planet/business/hibernate/HibernatePlanetModule.java
Fri Jun 29 13:54:07 2007
@@ -32,7 +32,7 @@
 /**
  * Guice module for configuring Hibernate as Roller-backend.
  */
-public class PlanetModule implements Module {
+public class HibernatePlanetModule implements Module {
 
     public void configure(Binder binder) {
         
@@ -44,6 +44,6 @@
         binder.bind(PropertiesManager.class).to( HibernatePropertiesManagerImpl.class); 
         binder.bind(URLStrategy.class).to(       MultiPlanetURLStrategy.class);
         binder.bind(FeedFetcher.class).to(       RomeFeedFetcher.class);
-    }    
+    }
+    
 }
-

Copied: roller/trunk/apps/planet/src/java/org/apache/roller/planet/business/jpa/JPAPlanetModule.java
(from r552006, roller/trunk/apps/planet/src/java/org/apache/roller/planet/business/jpa/PlanetModule.java)
URL: http://svn.apache.org/viewvc/roller/trunk/apps/planet/src/java/org/apache/roller/planet/business/jpa/JPAPlanetModule.java?view=diff&rev=552030&p1=roller/trunk/apps/planet/src/java/org/apache/roller/planet/business/jpa/PlanetModule.java&r1=552006&p2=roller/trunk/apps/planet/src/java/org/apache/roller/planet/business/jpa/JPAPlanetModule.java&r2=552030
==============================================================================
--- roller/trunk/apps/planet/src/java/org/apache/roller/planet/business/jpa/PlanetModule.java
(original)
+++ roller/trunk/apps/planet/src/java/org/apache/roller/planet/business/jpa/JPAPlanetModule.java
Fri Jun 29 13:54:07 2007
@@ -28,10 +28,11 @@
 import org.apache.roller.planet.business.RomeFeedFetcher;
 import org.apache.roller.planet.business.URLStrategy;
 
+
 /**
  * Guice module for configuring JPA as Roller-backend.
  */
-public class PlanetModule implements Module {
+public class JPAPlanetModule implements Module {
 
     public void configure(Binder binder) {
 
@@ -43,6 +44,6 @@
         binder.bind(PropertiesManager.class).to( JPAPropertiesManagerImpl.class);   
         binder.bind(URLStrategy.class).to(       MultiPlanetURLStrategy.class);
         binder.bind(FeedFetcher.class).to(       RomeFeedFetcher.class);
-    }    
+    }
+    
 }
-

Modified: roller/trunk/apps/planet/web/WEB-INF/classes/planet.properties
URL: http://svn.apache.org/viewvc/roller/trunk/apps/planet/web/WEB-INF/classes/planet.properties?view=diff&rev=552030&r1=552029&r2=552030
==============================================================================
--- roller/trunk/apps/planet/web/WEB-INF/classes/planet.properties (original)
+++ roller/trunk/apps/planet/web/WEB-INF/classes/planet.properties Fri Jun 29 13:54:07 2007
@@ -70,7 +70,7 @@
 # Optional properties
 
 # Pluggable backend
-guice.backend.module=org.apache.roller.planet.business.jpa.PlanetModule
+guice.backend.module=org.apache.roller.planet.business.jpa.JPAPlanetModule
 
 # Number of Technorati queries allowed per day
 planet.aggregator.technorati.limit=500



Mime
View raw message