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
Modifier and TypeFieldDescriptionprotected final String
protected final boolean
protected final int
protected final long
-
Constructor Summary
-
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 benull
to have the actual repository instance define its own defaultdisableLoginAdministrative
- Whether to disable theSlingRepository.loginAdministrative
method 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 benull
to have the actual repository instance define its own defaultdisableLoginAdministrative
- Whether to disable theSlingRepository.loginAdministrative
method 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
-