public class OakClusterViewService extends Object implements org.apache.sling.discovery.base.commons.ClusterViewService
Constructor and Description |
---|
OakClusterViewService() |
Modifier and Type | Method and Description |
---|---|
void |
activate() |
org.apache.sling.discovery.commons.providers.spi.LocalClusterView |
getLocalClusterView() |
protected org.apache.sling.api.resource.ResourceResolver |
getResourceResolver() |
String |
getSlingId() |
static OakClusterViewService |
testConstructor(org.apache.sling.settings.SlingSettingsService settingsService,
org.apache.sling.api.resource.ResourceResolverFactory resourceResolverFactory,
org.apache.sling.discovery.commons.providers.spi.base.IdMapService idMapService,
Config config) |
public static OakClusterViewService testConstructor(org.apache.sling.settings.SlingSettingsService settingsService, org.apache.sling.api.resource.ResourceResolverFactory resourceResolverFactory, org.apache.sling.discovery.commons.providers.spi.base.IdMapService idMapService, Config config)
public void activate()
public String getSlingId()
getSlingId
in interface org.apache.sling.discovery.base.commons.ClusterViewService
protected org.apache.sling.api.resource.ResourceResolver getResourceResolver() throws org.apache.sling.api.resource.LoginException
org.apache.sling.api.resource.LoginException
public org.apache.sling.discovery.commons.providers.spi.LocalClusterView getLocalClusterView() throws org.apache.sling.discovery.base.commons.UndefinedClusterViewException
getLocalClusterView
in interface org.apache.sling.discovery.base.commons.ClusterViewService
org.apache.sling.discovery.base.commons.UndefinedClusterViewException
Copyright © 2007–2022 The Apache Software Foundation. All rights reserved.