jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r1343796 - /jackrabbit/oak/trunk/oak-sling/src/main/java/org/apache/jackrabbit/oak/sling/Activator.java
Date Tue, 29 May 2012 15:57:33 GMT
Author: jukka
Date: Tue May 29 15:57:33 2012
New Revision: 1343796

URL: http://svn.apache.org/viewvc?rev=1343796&view=rev
Log:
OAK-87: Declarative services and OSGi configuration

Fix service exports in oak-sling activator

Modified:
    jackrabbit/oak/trunk/oak-sling/src/main/java/org/apache/jackrabbit/oak/sling/Activator.java

Modified: jackrabbit/oak/trunk/oak-sling/src/main/java/org/apache/jackrabbit/oak/sling/Activator.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-sling/src/main/java/org/apache/jackrabbit/oak/sling/Activator.java?rev=1343796&r1=1343795&r2=1343796&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-sling/src/main/java/org/apache/jackrabbit/oak/sling/Activator.java
(original)
+++ jackrabbit/oak/trunk/oak-sling/src/main/java/org/apache/jackrabbit/oak/sling/Activator.java
Tue May 29 15:57:33 2012
@@ -67,9 +67,11 @@ public class Activator implements Bundle
             SlingRepository repository =
                     new SlingRepositoryImpl((ContentRepository) service);
             jcrRepositories.put(reference, context.registerService(
-                    Repository.class.getName(), repository, new Properties()));
+                    Repository.class.getName(),
+                    repository, new Properties()));
             slingRepositories.put(reference, context.registerService(
-                    Repository.class.getName(), repository, new Properties()));
+                    SlingRepository.class.getName(),
+                    repository, new Properties()));
             return service;
         } else {
             context.ungetService(reference);



Mime
View raw message