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 2011/02/15 19:32:44 UTC

svn commit: r1071003 - /sling/trunk/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/JcrResourceResolverFactory.java

Author: cziegeler
Date: Tue Feb 15 18:32:44 2011
New Revision: 1071003

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

Modified:
    sling/trunk/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/JcrResourceResolverFactory.java

Modified: sling/trunk/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/JcrResourceResolverFactory.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/JcrResourceResolverFactory.java?rev=1071003&r1=1071002&r2=1071003&view=diff
==============================================================================
--- sling/trunk/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/JcrResourceResolverFactory.java (original)
+++ sling/trunk/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/JcrResourceResolverFactory.java Tue Feb 15 18:32:44 2011
@@ -32,6 +32,14 @@ import org.apache.sling.api.resource.Res
  * is implemented by this bundle and the implementation registered as a service
  * for use by client applications.
  *
+ * This interface is deprecated. You should use
+ * {@link org.apache.sling.api.resource.ResourceResolverFactory}
+ * instead. If you need a resource resolver based on an existing session
+ * you can create an authentication map just containing this session
+ * (using the key {@link JcrResourceConstants#AUTHENTICATION_INFO_SESSION})
+ * and then call {@link org.apache.sling.api.resource.ResourceResolverFactory#getResourceResolver(java.util.Map)}
+ * with exactly this map.
+ *
  * @deprecated Since 2.1. Use the
  *             {@link org.apache.sling.api.resource.ResourceResolverFactory}
  */