jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alexparvule...@apache.org
Subject svn commit: r1411168 - /jackrabbit/oak/trunk/oak-mk/src/main/java/org/apache/jackrabbit/mk/osgi/MicroKernelService.java
Date Mon, 19 Nov 2012 13:35:00 GMT
Author: alexparvulescu
Date: Mon Nov 19 13:34:59 2012
New Revision: 1411168

URL: http://svn.apache.org/viewvc?rev=1411168&view=rev
Log:
OAK-454 Make In Memory/H2 MicroKernal depend explicit configuration to activate
(on behalf of Chetan Mehrotra)

Modified:
    jackrabbit/oak/trunk/oak-mk/src/main/java/org/apache/jackrabbit/mk/osgi/MicroKernelService.java

Modified: jackrabbit/oak/trunk/oak-mk/src/main/java/org/apache/jackrabbit/mk/osgi/MicroKernelService.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-mk/src/main/java/org/apache/jackrabbit/mk/osgi/MicroKernelService.java?rev=1411168&r1=1411167&r2=1411168&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-mk/src/main/java/org/apache/jackrabbit/mk/osgi/MicroKernelService.java
(original)
+++ jackrabbit/oak/trunk/oak-mk/src/main/java/org/apache/jackrabbit/mk/osgi/MicroKernelService.java
Mon Nov 19 13:34:59 2012
@@ -18,6 +18,7 @@ package org.apache.jackrabbit.mk.osgi;
 
 import org.apache.felix.scr.annotations.Activate;
 import org.apache.felix.scr.annotations.Component;
+import org.apache.felix.scr.annotations.ConfigurationPolicy;
 import org.apache.felix.scr.annotations.Deactivate;
 import org.apache.felix.scr.annotations.Property;
 import org.apache.felix.scr.annotations.Service;
@@ -25,7 +26,7 @@ import org.apache.jackrabbit.mk.api.Micr
 import org.apache.jackrabbit.mk.core.MicroKernelImpl;
 import org.osgi.service.component.ComponentContext;
 
-@Component
+@Component(policy = ConfigurationPolicy.REQUIRE)
 @Service(MicroKernel.class)
 public class MicroKernelService extends MicroKernelImpl {
 



Mime
View raw message