sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r1765249 - /sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/observation/ResourceChangeListener.java
Date Mon, 17 Oct 2016 12:15:41 GMT
Author: cziegeler
Date: Mon Oct 17 12:15:40 2016
New Revision: 1765249

URL: http://svn.apache.org/viewvc?rev=1765249&view=rev
Log:
Update javadoc

Modified:
    sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/observation/ResourceChangeListener.java

Modified: sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/observation/ResourceChangeListener.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/observation/ResourceChangeListener.java?rev=1765249&r1=1765248&r2=1765249&view=diff
==============================================================================
--- sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/observation/ResourceChangeListener.java
(original)
+++ sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/observation/ResourceChangeListener.java
Mon Oct 17 12:15:40 2016
@@ -93,14 +93,18 @@ public interface ResourceChangeListener
      * {@link ResourceChange.ChangeType}.
      */
     String CHANGES = "resource.change.types";
-    
+
     /**
-     * An optional hint indicating to the underlying that for
+     * An optional hint indicating to the underlying implementation that for
      * changes regarding properties (added/removed/changed) the listener
      * is only interested in those property names listed inhere.
-     * If the underlying supports this, events for property names that
+     * If the underlying implementation supports this, events for property names that
      * are not enlisted here will not be delivered, however events
-     * concerning nodes are not affected by this hint.
+     * concerning resources are not affected by this hint.
+     * This is only a hint, a change listener registering with this property
+     * must be prepared that the underlying implementation is not able to filter
+     * based on this property. In this case the listener gets all events
+     * as defined with the other properties.
      */
     String PROPERTY_NAMES_HINT = "resource.property.names.hint";
 



Mime
View raw message