public abstract class AbstractSlingRepositoryManager extends NamespaceMappingSupport
AbstractSlingRepositoryManageris the basis for controlling the JCR repository instances used by Sling. As a manager it starts and stops the actual repository instance, manages service registration and hands out
SlingRepositoryinstances to be used by the consumers.
This base class controls the livecycle of repository instance whereas implementations of this class provide actual integration into the runtime context. The livecycle of the repository instance is defined as follows:
To start the repository instance, the implemetation calls the
start(BundleContext, String, boolean)method which goes through the
steps of instantiating the repository, setting things up, and registering the
repository as an OSGi service:
To stop the repository instance, the implementation calls the
method which goes through the setps of unregistering the OSGi service,
tearing all special settings down and finally shutting down the repository:
Instances of this class manage a single repository instance backing the OSGi service instances. Each consuming bundle, though, gets its own service instance backed by the single actual repository instance managed by this class.
|Constructor and Description|
|Modifier and Type||Method and Description|
Returns the default workspace, which may be
Returns whether to disable the
public final String getDefaultWorkspace()
nullmeaning to use the repository provided default workspace.
nullindicating the repository's default workspace is actually used.
public final boolean isDisableLoginAdministrative()
SlingRepository.loginAdministrativemethod or not.
"Copyright © 2010 - 2016 Adobe Systems Incorporated. All Rights Reserved"