org.apache.sling.resourceresolver.impl
Class ResourceResolverFactoryImpl

java.lang.Object
  extended by org.apache.sling.resourceresolver.impl.ResourceResolverFactoryImpl
All Implemented Interfaces:
org.apache.sling.api.resource.ResourceResolverFactory

public class ResourceResolverFactoryImpl
extends Object
implements org.apache.sling.api.resource.ResourceResolverFactory

The ResourceResolverFactoryImpl is the ResourceResolverFactory service providing the following functionality:


Field Summary
 
Fields inherited from interface org.apache.sling.api.resource.ResourceResolverFactory
PASSWORD, SUBSERVICE, USER, USER_IMPERSONATION
 
Constructor Summary
ResourceResolverFactoryImpl(CommonResourceResolverFactoryImpl commonFactory, org.osgi.framework.Bundle usingBundle, org.apache.sling.serviceusermapping.ServiceUserMapper serviceUserMapper)
           
 
Method Summary
 org.apache.sling.api.resource.ResourceResolver getAdministrativeResourceResolver(Map<String,Object> authenticationInfo)
           
 org.apache.sling.api.resource.ResourceResolver getResourceResolver(Map<String,Object> authenticationInfo)
           
 org.apache.sling.api.resource.ResourceResolver getServiceResourceResolver(Map<String,Object> passedAuthenticationInfo)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceResolverFactoryImpl

public ResourceResolverFactoryImpl(CommonResourceResolverFactoryImpl commonFactory,
                                   org.osgi.framework.Bundle usingBundle,
                                   org.apache.sling.serviceusermapping.ServiceUserMapper serviceUserMapper)
Method Detail

getServiceResourceResolver

public org.apache.sling.api.resource.ResourceResolver getServiceResourceResolver(Map<String,Object> passedAuthenticationInfo)
                                                                          throws org.apache.sling.api.resource.LoginException
Specified by:
getServiceResourceResolver in interface org.apache.sling.api.resource.ResourceResolverFactory
Throws:
org.apache.sling.api.resource.LoginException

getResourceResolver

public org.apache.sling.api.resource.ResourceResolver getResourceResolver(Map<String,Object> authenticationInfo)
                                                                   throws org.apache.sling.api.resource.LoginException
Specified by:
getResourceResolver in interface org.apache.sling.api.resource.ResourceResolverFactory
Throws:
org.apache.sling.api.resource.LoginException

getAdministrativeResourceResolver

public org.apache.sling.api.resource.ResourceResolver getAdministrativeResourceResolver(Map<String,Object> authenticationInfo)
                                                                                 throws org.apache.sling.api.resource.LoginException
Specified by:
getAdministrativeResourceResolver in interface org.apache.sling.api.resource.ResourceResolverFactory
Throws:
org.apache.sling.api.resource.LoginException


Copyright © 2007-2014 The Apache Software Foundation. All Rights Reserved.