org.apache.directory.server.configuration
Class MutableServerStartupConfiguration

java.lang.Object
  extended byorg.apache.directory.server.core.configuration.Configuration
      extended byorg.apache.directory.server.core.configuration.StartupConfiguration
          extended byorg.apache.directory.server.configuration.ServerStartupConfiguration
              extended byorg.apache.directory.server.configuration.MutableServerStartupConfiguration
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable

public class MutableServerStartupConfiguration
extends ServerStartupConfiguration

A mutable version of ServerStartupConfiguration.

Version:
$Rev: 434431 $, $Date: 2006-08-24 18:47:56 +0200 (Thu, 24 Aug 2006) $
Author:
Apache Directory Project
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.directory.server.core.configuration.StartupConfiguration
MAX_SIZE_LIMIT_DEFAULT, MAX_THREADS_DEFAULT, MAX_TIME_LIMIT_DEFAULT
 
Fields inherited from class org.apache.directory.server.core.configuration.Configuration
DEFAULT_INSTANCE_ID, JNDI_KEY
 
Constructor Summary
MutableServerStartupConfiguration()
           
 
Method Summary
 void setAccessControlEnabled(boolean accessControlEnabled)
          Sets whether to enable basic access control checks or not
 void setAllowAnonymousAccess(boolean arg0)
          Sets whether to allow anonymous access or not
 void setAuthenticatorConfigurations(java.util.Set arg0)
          Sets AuthenticatorConfigurations to use for authenticating clients.
 void setBootstrapSchemas(java.util.Set arg0)
          Sets BootstrapSchemas to load while bootstrapping.
 void setContextPartitionConfigurations(java.util.Set arg0)
          Sets PartitionConfigurations to configure context partitions.
 void setDenormalizeOpAttrsEnabled(boolean denormalizeOpAttrsEnabled)
           
 void setEnableChangePassword(boolean enableChangePassword)
          Sets whether to enable Change Password support or not.
 void setEnableKerberos(boolean enableKerberos)
          Sets whether to enable Kerberos support or not.
 void setEnableLdaps(boolean enableLdaps)
          Sets if LDAPS is enabled or not.
 void setEnableNtp(boolean enableNtp)
          Sets whether to enable Ntp support or not.
 void setExitVmOnShutdown(boolean exitVmOnShutdown)
           
 void setExtendedOperationHandlers(java.util.Collection handlers)
           
 void setInterceptorConfigurations(java.util.List arg0)
          Sets interceptor chain.
 void setLdapPort(int ldapPort)
          Sets LDAP TCP/IP port number to listen to.
 void setLdapsCertificateFile(java.io.File ldapsCertificateFile)
          Sets the path of the SunX509 certificate file (either PKCS12 or JKS format) for LDAPS.
 void setLdapsCertificatePassword(java.lang.String ldapsCertificatePassword)
          Sets the password which is used to load the LDAPS certificate file.
 void setLdapsPort(int ldapsPort)
          Sets LDAPS TCP/IP port number to listen to.
 void setLdifDirectory(java.io.File ldifDirectory)
           
 void setLdifFilters(java.util.List ldifFilters)
           
 void setMaxSizeLimit(int maxSizeLimit)
           
 void setMaxThreads(int maxThreads)
           
 void setMaxTimeLimit(int maxTimeLimit)
           
 void setShutdownHookEnabled(boolean shutdownHookEnabled)
           
 void setSynchPeriodMillis(long synchPeriodMillis)
           
 void setSystemPartitionConfiguration(PartitionConfiguration systemPartitionConfiguration)
           
 void setTestEntries(java.util.List arg0)
          Sets test directory entries(Attributes) to be loaded while bootstrapping.
 void setWorkingDirectory(java.io.File arg0)
          Sets working directory (counterpart of var/lib).
 
Methods inherited from class org.apache.directory.server.configuration.ServerStartupConfiguration
getExtendedOperationHandlers, getLdapPort, getLdapsCertificateFile, getLdapsCertificatePassword, getLdapsPort, getLdifDirectory, getLdifFilters, getSynchPeriodMillis, isEnableChangePassword, isEnableKerberos, isEnableLdaps, isEnableNetworking, isEnableNtp, setEnableNetworking
 
Methods inherited from class org.apache.directory.server.core.configuration.StartupConfiguration
getAuthenticatorConfigurations, getBootstrapSchemas, getContextPartitionConfigurations, getInterceptorConfigurations, getMaxSizeLimit, getMaxThreads, getMaxTimeLimit, getSystemPartitionConfiguration, getTestEntries, getWorkingDirectory, isAccessControlEnabled, isAllowAnonymousAccess, isDenormalizeOpAttrsEnabled, isExitVmOnShutdown, isShutdownHookEnabled, validate
 
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
 

Constructor Detail

MutableServerStartupConfiguration

public MutableServerStartupConfiguration()
Method Detail

setSystemPartitionConfiguration

public void setSystemPartitionConfiguration(PartitionConfiguration systemPartitionConfiguration)
Overrides:
setSystemPartitionConfiguration in class StartupConfiguration

setMaxThreads

public void setMaxThreads(int maxThreads)
Overrides:
setMaxThreads in class StartupConfiguration

setMaxTimeLimit

public void setMaxTimeLimit(int maxTimeLimit)
Overrides:
setMaxTimeLimit in class StartupConfiguration

setMaxSizeLimit

public void setMaxSizeLimit(int maxSizeLimit)
Overrides:
setMaxSizeLimit in class StartupConfiguration

setSynchPeriodMillis

public void setSynchPeriodMillis(long synchPeriodMillis)
Overrides:
setSynchPeriodMillis in class ServerStartupConfiguration

setAccessControlEnabled

public void setAccessControlEnabled(boolean accessControlEnabled)
Description copied from class: StartupConfiguration
Sets whether to enable basic access control checks or not

Overrides:
setAccessControlEnabled in class StartupConfiguration

setAllowAnonymousAccess

public void setAllowAnonymousAccess(boolean arg0)
Description copied from class: StartupConfiguration
Sets whether to allow anonymous access or not

Overrides:
setAllowAnonymousAccess in class StartupConfiguration

setDenormalizeOpAttrsEnabled

public void setDenormalizeOpAttrsEnabled(boolean denormalizeOpAttrsEnabled)
Overrides:
setDenormalizeOpAttrsEnabled in class StartupConfiguration

setAuthenticatorConfigurations

public void setAuthenticatorConfigurations(java.util.Set arg0)
Description copied from class: StartupConfiguration
Sets AuthenticatorConfigurations to use for authenticating clients.

Overrides:
setAuthenticatorConfigurations in class StartupConfiguration

setBootstrapSchemas

public void setBootstrapSchemas(java.util.Set arg0)
Description copied from class: StartupConfiguration
Sets BootstrapSchemas to load while bootstrapping.

Overrides:
setBootstrapSchemas in class StartupConfiguration

setContextPartitionConfigurations

public void setContextPartitionConfigurations(java.util.Set arg0)
Description copied from class: StartupConfiguration
Sets PartitionConfigurations to configure context partitions.

Overrides:
setContextPartitionConfigurations in class StartupConfiguration

setInterceptorConfigurations

public void setInterceptorConfigurations(java.util.List arg0)
Description copied from class: StartupConfiguration
Sets interceptor chain.

Overrides:
setInterceptorConfigurations in class StartupConfiguration

setTestEntries

public void setTestEntries(java.util.List arg0)
Description copied from class: StartupConfiguration
Sets test directory entries(Attributes) to be loaded while bootstrapping.

Overrides:
setTestEntries in class StartupConfiguration

setWorkingDirectory

public void setWorkingDirectory(java.io.File arg0)
Description copied from class: StartupConfiguration
Sets working directory (counterpart of var/lib).

Overrides:
setWorkingDirectory in class StartupConfiguration

setEnableKerberos

public void setEnableKerberos(boolean enableKerberos)
Description copied from class: ServerStartupConfiguration
Sets whether to enable Kerberos support or not.

Overrides:
setEnableKerberos in class ServerStartupConfiguration

setEnableChangePassword

public void setEnableChangePassword(boolean enableChangePassword)
Description copied from class: ServerStartupConfiguration
Sets whether to enable Change Password support or not.

Overrides:
setEnableChangePassword in class ServerStartupConfiguration

setEnableNtp

public void setEnableNtp(boolean enableNtp)
Description copied from class: ServerStartupConfiguration
Sets whether to enable Ntp support or not.

Overrides:
setEnableNtp in class ServerStartupConfiguration

setLdapPort

public void setLdapPort(int ldapPort)
Description copied from class: ServerStartupConfiguration
Sets LDAP TCP/IP port number to listen to.

Overrides:
setLdapPort in class ServerStartupConfiguration

setLdapsPort

public void setLdapsPort(int ldapsPort)
Description copied from class: ServerStartupConfiguration
Sets LDAPS TCP/IP port number to listen to.

Overrides:
setLdapsPort in class ServerStartupConfiguration

setExtendedOperationHandlers

public void setExtendedOperationHandlers(java.util.Collection handlers)
Overrides:
setExtendedOperationHandlers in class ServerStartupConfiguration

setLdifDirectory

public void setLdifDirectory(java.io.File ldifDirectory)
Overrides:
setLdifDirectory in class ServerStartupConfiguration

setLdifFilters

public void setLdifFilters(java.util.List ldifFilters)
Overrides:
setLdifFilters in class ServerStartupConfiguration

setEnableLdaps

public void setEnableLdaps(boolean enableLdaps)
Description copied from class: ServerStartupConfiguration
Sets if LDAPS is enabled or not.

Overrides:
setEnableLdaps in class ServerStartupConfiguration

setLdapsCertificateFile

public void setLdapsCertificateFile(java.io.File ldapsCertificateFile)
Description copied from class: ServerStartupConfiguration
Sets the path of the SunX509 certificate file (either PKCS12 or JKS format) for LDAPS.

Overrides:
setLdapsCertificateFile in class ServerStartupConfiguration

setLdapsCertificatePassword

public void setLdapsCertificatePassword(java.lang.String ldapsCertificatePassword)
Description copied from class: ServerStartupConfiguration
Sets the password which is used to load the LDAPS certificate file.

Overrides:
setLdapsCertificatePassword in class ServerStartupConfiguration

setShutdownHookEnabled

public void setShutdownHookEnabled(boolean shutdownHookEnabled)
Overrides:
setShutdownHookEnabled in class StartupConfiguration

setExitVmOnShutdown

public void setExitVmOnShutdown(boolean exitVmOnShutdown)
Overrides:
setExitVmOnShutdown in class StartupConfiguration