Package org.apache.sling.jcr.base
Class AbstractSlingRepositoryManager.Config
java.lang.Object
org.apache.sling.jcr.base.AbstractSlingRepositoryManager.Config
- Enclosing class:
- AbstractSlingRepositoryManager
Configuration pojo to be passed to the
AbstractSlingRepositoryManager.start(BundleContext, Config) method.-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Stringprotected final booleanprotected final intprotected final long -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
defaultWorkspace
-
disableLoginAdministrative
protected final boolean disableLoginAdministrative -
startupThreadMaxWaitCount
protected final int startupThreadMaxWaitCount -
startupThreadWaitMillis
protected final long startupThreadWaitMillis
-
-
Constructor Details
-
Config
- Parameters:
defaultWorkspace- The name of the default workspace to use to login. This may benullto have the actual repository instance define its own defaultdisableLoginAdministrative- Whether to disable theSlingRepository.loginAdministrativemethod or not.
-
Config
public Config(String defaultWorkspace, boolean disableLoginAdministrative, int startupThreadMaxWaitCount, long startupThreadWaitMillis) - Parameters:
defaultWorkspace- The name of the default workspace to use to login. This may benullto have the actual repository instance define its own defaultdisableLoginAdministrative- Whether to disable theSlingRepository.loginAdministrativemethod or not.startupThreadMaxWaitCount- The number of attempts to be performed when waiting for the repository startup to completestartupThreadWaitMillis- The duration of each of the waits performed when waiting for the repository startup to complete
-