public class ResourceResolverHolder extends Object
Constructor and Description |
---|
ResourceResolverHolder() |
Modifier and Type | Method and Description |
---|---|
static org.apache.sling.api.resource.ResourceResolver |
getResourceResolver()
Returns the current user's resource Resolver.
|
static javax.jcr.Session |
getSession()
Returns the current user session.
|
static void |
setResourceResolverHelper(com.adobe.granite.resourceresolverhelper.ResourceResolverHelper resourceResolverHelper) |
public static void setResourceResolverHelper(com.adobe.granite.resourceresolverhelper.ResourceResolverHelper resourceResolverHelper)
resourceResolverHelper
- the resourceResolverHelper to setpublic static org.apache.sling.api.resource.ResourceResolver getResourceResolver()
public static javax.jcr.Session getSession() throws RepositoryException
RepositoryException
Copyright © 1982–2022 Adobe Systems Inc.. All rights reserved.