You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by cz...@apache.org on 2016/03/08 14:14:53 UTC

svn commit: r1734073 - /sling/trunk/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/helper/jcr/JcrResourceProvider.java

Author: cziegeler
Date: Tue Mar  8 13:14:53 2016
New Revision: 1734073

URL: http://svn.apache.org/viewvc?rev=1734073&view=rev
Log:
SLING-5593 : Regression in configuring new JCR Resource Provider. Apply patch from Marc Pfaff.

Modified:
    sling/trunk/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/helper/jcr/JcrResourceProvider.java

Modified: sling/trunk/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/helper/jcr/JcrResourceProvider.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/helper/jcr/JcrResourceProvider.java?rev=1734073&r1=1734072&r2=1734073&view=diff
==============================================================================
--- sling/trunk/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/helper/jcr/JcrResourceProvider.java (original)
+++ sling/trunk/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/helper/jcr/JcrResourceProvider.java Tue Mar  8 13:14:53 2016
@@ -75,9 +75,10 @@ import org.osgi.service.component.Compon
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
-@Component(immediate = true, metatype = true,
+@Component(metatype = true,
         label = "Apache Sling JCR Resource Provider Factory",
-        description = "This provider adds  JCR resources to the resource tree")
+        description = "This provider adds JCR resources to the resource tree",
+        name="org.apache.sling.jcr.resource.internal.helper.jcr.JcrResourceProviderFactory")
 @Service(value = ResourceProvider.class)
 @Properties({ @Property(name = ResourceProvider.PROPERTY_NAME, value = "JCR"),
         @Property(name = ResourceProvider.PROPERTY_ROOT, value = "/"),