org.apache.geronimo.directory
Class ServerStartupConfiguration

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

public class ServerStartupConfiguration
extends org.apache.directory.server.core.configuration.StartupConfiguration

A StartupConfiguration that starts up ApacheDS with network layer support.

Version:
$Rev: 355877 $ $Date: 2005-12-11 03:48:27 +0100 (Sun, 11 Dec 2005) $
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
protected ServerStartupConfiguration()
           
 
Method Summary
protected  InetAddress getHost()
           
 int getLdapPort()
          Returns LDAP TCP/IP port number to listen to.
 int getLdapsPort()
          Returns LDAPS TCP/IP port number to listen to.
 boolean isEnableKerberos()
          Returns true if Kerberos support is enabled.
 boolean isEnableNetworking()
          Returns true if networking (LDAP, LDAPS, and Kerberos) is enabled.
protected  void setEnableKerberos(boolean enableKerberos)
          Sets whether to enable Kerberos support or not.
 void setEnableNetworking(boolean enableNetworking)
          Sets whether to enable networking (LDAP, LDAPS, and Kerberos) or not.
protected  void setHost(InetAddress host)
           
protected  void setLdapPort(int ldapPort)
          Sets LDAP TCP/IP port number to listen to.
protected  void setLdapsPort(int ldapsPort)
          Sets LDAPS TCP/IP port number to listen to.
 
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, setAccessControlEnabled, setAllowAnonymousAccess, setAuthenticatorConfigurations, setBootstrapSchemas, setContextPartitionConfigurations, setDenormalizeOpAttrsEnabled, setExitVmOnShutdown, setInterceptorConfigurations, setMaxSizeLimit, setMaxThreads, setMaxTimeLimit, setShutdownHookEnabled, setSystemPartitionConfiguration, setTestEntries, setWorkingDirectory, 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

ServerStartupConfiguration

protected ServerStartupConfiguration()
Method Detail

getHost

protected InetAddress getHost()

setHost

protected void setHost(InetAddress host)

isEnableNetworking

public boolean isEnableNetworking()
Returns true if networking (LDAP, LDAPS, and Kerberos) is enabled.


setEnableNetworking

public void setEnableNetworking(boolean enableNetworking)
Sets whether to enable networking (LDAP, LDAPS, and Kerberos) or not.


isEnableKerberos

public boolean isEnableKerberos()
Returns true if Kerberos support is enabled.


setEnableKerberos

protected void setEnableKerberos(boolean enableKerberos)
Sets whether to enable Kerberos support or not.


getLdapPort

public int getLdapPort()
Returns LDAP TCP/IP port number to listen to.


setLdapPort

protected void setLdapPort(int ldapPort)
Sets LDAP TCP/IP port number to listen to.


getLdapsPort

public int getLdapsPort()
Returns LDAPS TCP/IP port number to listen to.


setLdapsPort

protected void setLdapsPort(int ldapsPort)
Sets LDAPS TCP/IP port number to listen to.



Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.