|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.directory.server.core.configuration.Configuration
org.apache.directory.server.core.configuration.StartupConfiguration
A Configuration
that starts up ApacheDS.
Field Summary | |
static int |
MAX_SIZE_LIMIT_DEFAULT
|
static int |
MAX_THREADS_DEFAULT
|
static int |
MAX_TIME_LIMIT_DEFAULT
|
Fields inherited from class org.apache.directory.server.core.configuration.Configuration |
DEFAULT_INSTANCE_ID, JNDI_KEY |
Constructor Summary | |
StartupConfiguration()
Creates a new instance with default settings. |
|
StartupConfiguration(java.lang.String instanceId)
Creates a new instance with default settings that operates on the DirectoryService with the specified ID. |
Method Summary | |
java.util.Set |
getAuthenticatorConfigurations()
Returns AuthenticatorConfiguration s to use for authenticating clients. |
java.util.Set |
getBootstrapSchemas()
Returns BootstrapSchema s to load while bootstrapping. |
java.util.Set |
getContextPartitionConfigurations()
Returns PartitionConfiguration s to configure context partitions. |
java.util.List |
getInterceptorConfigurations()
Returns interceptor chain. |
int |
getMaxSizeLimit()
|
int |
getMaxThreads()
|
int |
getMaxTimeLimit()
|
PartitionConfiguration |
getSystemPartitionConfiguration()
|
java.util.List |
getTestEntries()
Returns test directory entries( Attributes ) to be loaded while
bootstrapping. |
java.io.File |
getWorkingDirectory()
Returns working directory (counterpart of var/lib). |
boolean |
isAccessControlEnabled()
Returns true if access control checks are enbaled. |
boolean |
isAllowAnonymousAccess()
Returns true if anonymous access is allowed. |
boolean |
isDenormalizeOpAttrsEnabled()
|
boolean |
isExitVmOnShutdown()
|
boolean |
isShutdownHookEnabled()
|
protected void |
setAccessControlEnabled(boolean accessControlEnabled)
Sets whether to enable basic access control checks or not |
protected void |
setAllowAnonymousAccess(boolean enableAnonymousAccess)
Sets whether to allow anonymous access or not |
protected void |
setAuthenticatorConfigurations(java.util.Set authenticatorConfigurations)
Sets AuthenticatorConfiguration s to use for authenticating clients. |
protected void |
setBootstrapSchemas(java.util.Set bootstrapSchemas)
Sets BootstrapSchema s to load while bootstrapping. |
protected void |
setContextPartitionConfigurations(java.util.Set contextParitionConfigurations)
Sets PartitionConfiguration s to configure context partitions. |
protected void |
setDenormalizeOpAttrsEnabled(boolean denormalizeOpAttrsEnabled)
|
protected void |
setExitVmOnShutdown(boolean exitVmOnShutdown)
|
protected void |
setInterceptorConfigurations(java.util.List interceptorConfigurations)
Sets interceptor chain. |
protected void |
setMaxSizeLimit(int maxSizeLimit)
|
protected void |
setMaxThreads(int maxThreads)
|
protected void |
setMaxTimeLimit(int maxTimeLimit)
|
protected void |
setShutdownHookEnabled(boolean shutdownHookEnabled)
|
protected void |
setSystemPartitionConfiguration(PartitionConfiguration systemPartitionConfiguration)
|
protected void |
setTestEntries(java.util.List testEntries)
Sets test directory entries( Attributes ) to be loaded while
bootstrapping. |
protected void |
setWorkingDirectory(java.io.File workingDirectory)
Sets working directory (counterpart of var/lib). |
void |
validate()
Validates this configuration. |
Methods inherited from class org.apache.directory.server.core.configuration.Configuration |
clone, getInstanceId, setInstanceId, toConfiguration, toJndiEnvironment |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int MAX_THREADS_DEFAULT
public static final int MAX_SIZE_LIMIT_DEFAULT
public static final int MAX_TIME_LIMIT_DEFAULT
Constructor Detail |
public StartupConfiguration()
public StartupConfiguration(java.lang.String instanceId)
DirectoryService
with the specified ID.
Method Detail |
public java.util.Set getAuthenticatorConfigurations()
AuthenticatorConfiguration
s to use for authenticating clients.
protected void setAuthenticatorConfigurations(java.util.Set authenticatorConfigurations)
AuthenticatorConfiguration
s to use for authenticating clients.
public java.util.Set getBootstrapSchemas()
BootstrapSchema
s to load while bootstrapping.
protected void setBootstrapSchemas(java.util.Set bootstrapSchemas)
BootstrapSchema
s to load while bootstrapping.
public java.util.Set getContextPartitionConfigurations()
PartitionConfiguration
s to configure context partitions.
protected void setContextPartitionConfigurations(java.util.Set contextParitionConfigurations)
PartitionConfiguration
s to configure context partitions.
public boolean isAccessControlEnabled()
protected void setAccessControlEnabled(boolean accessControlEnabled)
public boolean isAllowAnonymousAccess()
protected void setAllowAnonymousAccess(boolean enableAnonymousAccess)
public java.util.List getInterceptorConfigurations()
protected void setInterceptorConfigurations(java.util.List interceptorConfigurations)
public java.util.List getTestEntries()
Attributes
) to be loaded while
bootstrapping.
protected void setTestEntries(java.util.List testEntries)
Attributes
) to be loaded while
bootstrapping.
public java.io.File getWorkingDirectory()
protected void setWorkingDirectory(java.io.File workingDirectory)
public void validate()
Configuration
validate
in class Configuration
protected void setShutdownHookEnabled(boolean shutdownHookEnabled)
public boolean isShutdownHookEnabled()
protected void setExitVmOnShutdown(boolean exitVmOnShutdown)
public boolean isExitVmOnShutdown()
protected void setMaxThreads(int maxThreads)
public int getMaxThreads()
protected void setMaxSizeLimit(int maxSizeLimit)
public int getMaxSizeLimit()
protected void setMaxTimeLimit(int maxTimeLimit)
public int getMaxTimeLimit()
protected void setSystemPartitionConfiguration(PartitionConfiguration systemPartitionConfiguration)
public PartitionConfiguration getSystemPartitionConfiguration()
public boolean isDenormalizeOpAttrsEnabled()
protected void setDenormalizeOpAttrsEnabled(boolean denormalizeOpAttrsEnabled)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |