org.apache.sling.jcr.resource
Interface JcrResourceResolverFactory


public interface JcrResourceResolverFactory

The JcrResourceResolverFactory interface defines the service interface to have JCR-based ResourceResolver instances created for JCR sessions.

This interface is not intended to be implemented by client applications. It is implemented by this bundle and the implementation registered as a service for use by client applications.


Method Summary
 ResourceResolver getResourceResolver(javax.jcr.Session session)
          Returns a ResourceResolver for the given session.
 

Method Detail

getResourceResolver

ResourceResolver getResourceResolver(javax.jcr.Session session)
Returns a ResourceResolver for the given session. Calling this method repeatedly returns a new instance on each call.

Parameters:
session - The JCR Session used by the created resource manager to access the repository.


Copyright © 2007-2009. All Rights Reserved.