jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alexparvule...@apache.org
Subject svn commit: r1408352 - /jackrabbit/oak/trunk/oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/LuceneIndexProvider.java
Date Mon, 12 Nov 2012 17:03:47 GMT
Author: alexparvulescu
Date: Mon Nov 12 17:03:46 2012
New Revision: 1408352

URL: http://svn.apache.org/viewvc?rev=1408352&view=rev
Log:
OAK-438 Provide the lucene index as an osgi bundle
 - exposed QueryIndexProvider

Modified:
    jackrabbit/oak/trunk/oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/LuceneIndexProvider.java

Modified: jackrabbit/oak/trunk/oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/LuceneIndexProvider.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/LuceneIndexProvider.java?rev=1408352&r1=1408351&r2=1408352&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/LuceneIndexProvider.java
(original)
+++ jackrabbit/oak/trunk/oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/LuceneIndexProvider.java
Mon Nov 12 17:03:46 2012
@@ -23,6 +23,8 @@ import java.util.List;
 
 import javax.annotation.Nonnull;
 
+import org.apache.felix.scr.annotations.Component;
+import org.apache.felix.scr.annotations.Service;
 import org.apache.jackrabbit.oak.plugins.index.IndexDefinition;
 import org.apache.jackrabbit.oak.spi.query.QueryIndex;
 import org.apache.jackrabbit.oak.spi.query.QueryIndexProvider;
@@ -36,6 +38,8 @@ import org.slf4j.LoggerFactory;
  * @see LuceneIndex
  * 
  */
+@Component
+@Service(QueryIndexProvider.class)
 public class LuceneIndexProvider implements QueryIndexProvider,
         LuceneIndexConstants {
 



Mime
View raw message