Package org.apache.sling.jcr.base
Class AbstractSlingRepositoryManager.Config
- java.lang.Object
-
- org.apache.sling.jcr.base.AbstractSlingRepositoryManager.Config
-
- Enclosing class:
- AbstractSlingRepositoryManager
protected static final class AbstractSlingRepositoryManager.Config extends Object
Configuration pojo to be passed to theAbstractSlingRepositoryManager.start(BundleContext, Config)method.
-
-
Field Summary
Fields Modifier and Type Field Description protected StringdefaultWorkspaceprotected booleandisableLoginAdministrativeprotected intstartupThreadMaxWaitCountprotected longstartupThreadWaitMillis
-
-
-
Field Detail
-
defaultWorkspace
protected final String defaultWorkspace
-
disableLoginAdministrative
protected final boolean disableLoginAdministrative
-
startupThreadMaxWaitCount
protected final int startupThreadMaxWaitCount
-
startupThreadWaitMillis
protected final long startupThreadWaitMillis
-
-
Constructor Detail
-
Config
public Config(String defaultWorkspace, boolean disableLoginAdministrative)
- 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
-
-