@Service(value=org.apache.sling.api.resource.ResourceProviderFactory.class)
@Property(name="provider.roots") @Property(name="provider.ownsRoots",boolValue=true,propertyPrivate=true)
@Property(name="webconsole.configurationFactory.nameHint",
value="Resource kind: {kind}")
public class DistributionConfigurationResourceProviderFactory
extends Object
implements org.apache.sling.api.resource.ResourceProviderFactory
ResourceProviderFactory for distribution configuration resources.| Constructor and Description |
|---|
DistributionConfigurationResourceProviderFactory() |
| 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.ResourceProvider |
getAdministrativeResourceProvider(Map<String,Object> authenticationInfo) |
org.apache.sling.api.resource.ResourceProvider |
getResourceProvider(Map<String,Object> authenticationInfo) |
public DistributionConfigurationResourceProviderFactory()
@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.ResourceProvider getResourceProvider(Map<String,Object> authenticationInfo) throws org.apache.sling.api.resource.LoginException
getResourceProvider in interface org.apache.sling.api.resource.ResourceProviderFactoryorg.apache.sling.api.resource.LoginExceptionpublic org.apache.sling.api.resource.ResourceProvider getAdministrativeResourceProvider(Map<String,Object> authenticationInfo) throws org.apache.sling.api.resource.LoginException
getAdministrativeResourceProvider in interface org.apache.sling.api.resource.ResourceProviderFactoryorg.apache.sling.api.resource.LoginExceptionCopyright © 2007–2017 The Apache Software Foundation. All rights reserved.