public class DistributionServiceResourceProvider extends AbstractReadableResourceProvider
ResourceProvider
for Osgi services for a specific service interface.
The main resource contains a list of service properties and can be adapted to the underlying service.
The accepted path is resourceRoot/{friendlyNameProperty}/childResourceName.INTERNAL_ADAPTABLE, INTERNAL_ITEMS_ITERATOR, INTERNAL_NAME, ITEMS, SLING_RESOURCE_TYPE
Modifier and Type | Method and Description |
---|---|
protected Iterable<String> |
getInternalResourceChildren(org.apache.sling.api.resource.ResourceResolver resolver,
SimplePathInfo pathInfo) |
protected Map<String,Object> |
getInternalResourceProperties(org.apache.sling.api.resource.ResourceResolver resolver,
SimplePathInfo pathInfo) |
getResource, getResource, listChildren
protected Map<String,Object> getInternalResourceProperties(org.apache.sling.api.resource.ResourceResolver resolver, SimplePathInfo pathInfo)
getInternalResourceProperties
in class AbstractReadableResourceProvider
protected Iterable<String> getInternalResourceChildren(org.apache.sling.api.resource.ResourceResolver resolver, SimplePathInfo pathInfo)
getInternalResourceChildren
in class AbstractReadableResourceProvider
Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.