@Service(value=org.apache.sling.api.resource.ResourceProvider.class)
@Property(name="provider.roots") @Property(name="provider.ownsRoots",boolValue=true,propertyPrivate=true)
@Property(name="webconsole.configurationFactory.nameHint",
value="Resource kind: {kind}")
public class DistributionServiceResourceProviderFactory
extends Object
implements org.apache.sling.api.resource.ResourceProvider
ResourceProviderFactory for resources backing distribution services.| Constructor and Description |
|---|
DistributionServiceResourceProviderFactory() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate(org.osgi.framework.BundleContext context,
Map<String,Object> properties) |
void |
deactivate(org.osgi.framework.BundleContext context) |
org.apache.sling.api.resource.Resource |
getResource(org.apache.sling.api.resource.ResourceResolver resourceResolver,
javax.servlet.http.HttpServletRequest request,
String path) |
org.apache.sling.api.resource.Resource |
getResource(org.apache.sling.api.resource.ResourceResolver resourceResolver,
String path) |
Iterator<org.apache.sling.api.resource.Resource> |
listChildren(org.apache.sling.api.resource.Resource parent) |
public DistributionServiceResourceProviderFactory()
@Activate
public void activate(org.osgi.framework.BundleContext context,
Map<String,Object> properties)
@Deactivate public void deactivate(org.osgi.framework.BundleContext context)
public org.apache.sling.api.resource.Resource getResource(org.apache.sling.api.resource.ResourceResolver resourceResolver,
javax.servlet.http.HttpServletRequest request,
String path)
getResource in interface org.apache.sling.api.resource.ResourceProviderpublic org.apache.sling.api.resource.Resource getResource(org.apache.sling.api.resource.ResourceResolver resourceResolver,
String path)
getResource in interface org.apache.sling.api.resource.ResourceProviderpublic Iterator<org.apache.sling.api.resource.Resource> listChildren(org.apache.sling.api.resource.Resource parent)
listChildren in interface org.apache.sling.api.resource.ResourceProviderCopyright © 2007–2018 The Apache Software Foundation. All rights reserved.