jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alexparvule...@apache.org
Subject svn commit: r1570179 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/index/nodetype/NodeTypeIndexProvider.java
Date Thu, 20 Feb 2014 13:00:49 GMT
Author: alexparvulescu
Date: Thu Feb 20 13:00:49 2014
New Revision: 1570179

URL: http://svn.apache.org/r1570179
Log:
OAK-1445 NodeTypeIndex is missing osgi annotations


Modified:
    jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/index/nodetype/NodeTypeIndexProvider.java

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/index/nodetype/NodeTypeIndexProvider.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/index/nodetype/NodeTypeIndexProvider.java?rev=1570179&r1=1570178&r2=1570179&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/index/nodetype/NodeTypeIndexProvider.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/index/nodetype/NodeTypeIndexProvider.java
Thu Feb 20 13:00:49 2014
@@ -22,6 +22,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.spi.query.QueryIndex;
 import org.apache.jackrabbit.oak.spi.query.QueryIndexProvider;
 import org.apache.jackrabbit.oak.spi.state.NodeState;
@@ -32,6 +34,8 @@ import com.google.common.collect.Immutab
  * <code>NodeTypeIndexProvider</code> is a {@link QueryIndexProvider} for
  * {@link NodeTypeIndex} instances.
  */
+@Component
+@Service(QueryIndexProvider.class)
 public class NodeTypeIndexProvider implements QueryIndexProvider {
 
     @Nonnull



Mime
View raw message