Author: cziegeler Date: Tue Oct 18 08:48:05 2016 New Revision: 1765401 URL: http://svn.apache.org/viewvc?rev=1765401&view=rev Log: Update javadocs
Modified: sling/trunk/bundles/api/src/main/java/org/apache/sling/spi/resource/provider/ProviderContext.java 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/ProviderContext.java URL: http://svn.apache.org/viewvc/sling/trunk/bundles/api/src/main/java/org/apache/sling/spi/resource/provider/ProviderContext.java?rev=1765401&r1=1765400&r2=1765401&view=diff ============================================================================== --- sling/trunk/bundles/api/src/main/java/org/apache/sling/spi/resource/provider/ProviderContext.java (original) +++ sling/trunk/bundles/api/src/main/java/org/apache/sling/spi/resource/provider/ProviderContext.java Tue Oct 18 08:48:05 2016 @@ -21,7 +21,6 @@ package org.apache.sling.spi.resource.pr import javax.annotation.Nonnull; import org.apache.sling.api.resource.path.PathSet; - import org.osgi.annotation.versioning.ProviderType; /** @@ -32,7 +31,10 @@ import org.osgi.annotation.versioning.Pr @ProviderType public interface ProviderContext { + /** This bit is set in {@link ResourceProvider#update(long)} if observation listeners changed. */ long OBSERVATION_LISTENER_CHANGED = 1; + + /** This bit is set in {@link ResourceProvider#update(long)} if exclude paths changed. */ long EXCLUDED_PATHS_CHANGED = 2; /** 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=1765401&r1=1765400&r2=1765401&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 Tue Oct 18 08:48:05 2016 @@ -33,7 +33,6 @@ import org.apache.sling.api.resource.Res import org.apache.sling.api.resource.ResourceResolverFactory; import org.apache.sling.api.resource.ResourceUtil; import org.apache.sling.api.resource.SyntheticResource; - import org.osgi.annotation.versioning.ConsumerType; /** @@ -252,6 +251,8 @@ public abstract class ResourceProvider<T * This method is only called while the provider is used in the resource * tree. * @param changeSet A bit set of provider info that has changed. + * @see ProviderContext#OBSERVATION_LISTENER_CHANGED + * @see ProviderContext#EXCLUDED_PATHS_CHANGED */ public void update(final long changeSet) { this.ctx = ctx;