org.apache.sling.resourcemerger.impl
Class MergedResourceProvider

java.lang.Object
  extended by org.apache.sling.resourcemerger.impl.MergedResourceProvider
All Implemented Interfaces:
org.apache.sling.api.resource.ResourceProvider

public class MergedResourceProvider
extends Object
implements org.apache.sling.api.resource.ResourceProvider

The MergedResourceProvider is the resource provider providing access to MergedResource objects.


Field Summary
 
Fields inherited from interface org.apache.sling.api.resource.ResourceProvider
OWNS_ROOTS, RESOURCE_TYPE_SYNTHETIC, ROOTS, SERVICE_NAME, USE_RESOURCE_ACCESS_SECURITY
 
Constructor Summary
MergedResourceProvider(String mergeRootPath)
           
 
Method Summary
 org.apache.sling.api.resource.Resource getResource(org.apache.sling.api.resource.ResourceResolver resolver, javax.servlet.http.HttpServletRequest request, String path)
          
 org.apache.sling.api.resource.Resource getResource(org.apache.sling.api.resource.ResourceResolver resolver, String path)
          
 Iterator<org.apache.sling.api.resource.Resource> listChildren(org.apache.sling.api.resource.Resource resource)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MergedResourceProvider

public MergedResourceProvider(String mergeRootPath)
Method Detail

getResource

public org.apache.sling.api.resource.Resource getResource(org.apache.sling.api.resource.ResourceResolver resolver,
                                                          javax.servlet.http.HttpServletRequest request,
                                                          String path)

Specified by:
getResource in interface org.apache.sling.api.resource.ResourceProvider

getResource

public org.apache.sling.api.resource.Resource getResource(org.apache.sling.api.resource.ResourceResolver resolver,
                                                          String path)

Specified by:
getResource in interface org.apache.sling.api.resource.ResourceProvider

listChildren

public Iterator<org.apache.sling.api.resource.Resource> listChildren(org.apache.sling.api.resource.Resource resource)

Specified by:
listChildren in interface org.apache.sling.api.resource.ResourceProvider


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