@Service(value={org.apache.sling.discovery.base.commons.ClusterViewService.class,ClusterViewServiceImpl.class})
public class ClusterViewServiceImpl
extends Object
implements org.apache.sling.discovery.base.commons.ClusterViewService
This class is a reader only - it accesses the repository to read the currently established view
| Constructor and Description |
|---|
ClusterViewServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.sling.discovery.commons.providers.spi.LocalClusterView |
getLocalClusterView() |
String |
getSlingId() |
void |
invalidateEstablishedViewId(String establishedViewId) |
static org.apache.sling.discovery.base.commons.ClusterViewService |
testConstructor(org.apache.sling.settings.SlingSettingsService settingsService,
org.apache.sling.api.resource.ResourceResolverFactory factory,
Config config) |
public static org.apache.sling.discovery.base.commons.ClusterViewService testConstructor(org.apache.sling.settings.SlingSettingsService settingsService,
org.apache.sling.api.resource.ResourceResolverFactory factory,
Config config)
public String getSlingId()
getSlingId in interface org.apache.sling.discovery.base.commons.ClusterViewServicepublic void invalidateEstablishedViewId(String establishedViewId)
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.ClusterViewServiceorg.apache.sling.discovery.base.commons.UndefinedClusterViewExceptionCopyright © 2007–2017 The Apache Software Foundation. All rights reserved.