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 2015/07/13 20:24:10 UTC

svn commit: r1690786 - /sling/trunk/bundles/api/src/main/java/org/apache/sling/spi/resource/provider/ResourceProvider.java

Author: cziegeler
Date: Mon Jul 13 18:24:10 2015
New Revision: 1690786

URL: http://svn.apache.org/r1690786
Log:
SLING-4770 : Create DTOs for state inspection

Modified:
    sling/trunk/bundles/api/src/main/java/org/apache/sling/spi/resource/provider/ResourceProvider.java

Modified: sling/trunk/bundles/api/src/main/java/org/apache/sling/spi/resource/provider/ResourceProvider.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/api/src/main/java/org/apache/sling/spi/resource/provider/ResourceProvider.java?rev=1690786&r1=1690785&r2=1690786&view=diff
==============================================================================
--- sling/trunk/bundles/api/src/main/java/org/apache/sling/spi/resource/provider/ResourceProvider.java (original)
+++ sling/trunk/bundles/api/src/main/java/org/apache/sling/spi/resource/provider/ResourceProvider.java Mon Jul 13 18:24:10 2015
@@ -92,6 +92,13 @@ public abstract class ResourceProvider<T
     public static final String PROPERTY_ROOT = "provider.root";
 
     /**
+     * Optional service registration property setting a name for the provider.
+     * The name must not be unique. The name in combination with the root
+     * can be used to identify a resource provider.
+     */
+    public static final String PROPERTY_NAME = "provider.name";
+
+    /**
      * The name of the service registration property containing a boolean
      * flag indicating if the ResourceAccessSecurity service should be used for
      * this provider or not. ResourceAccessSecurity should only be used if the