public class ServerStartup extends AbstractServerParameters
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_WEB_SERVICE_PORT |
Constructor and Description |
---|
ServerStartup() |
Modifier and Type | Method and Description |
---|---|
protected void |
checkConfigKeyExistence(java.util.List<ServerConfigKey> keyList)
This method is called after having read the configuration file.
|
protected void |
checkConfigKeyValues(LogChannel logChannel,
NdfProperties props)
This method is called after having read the configuration file.
|
protected NdfHandler |
createNdfHandler() |
protected NdfWriter |
createNdfWriter(ApplicationContext ctx,
java.io.File outputFile) |
protected void |
fillDefaultValues(NdfProperties props) |
protected void |
fillServerConfigValues(NdfProperties props) |
int |
getCoServerReconnectDelay()
Returns the co-server connection retry delay in seconds.
|
int |
getDefaultAsyncAgentTimeout() |
java.lang.String |
getMailAccount() |
java.lang.String |
getMailPassword() |
java.lang.String |
getMailSender() |
java.lang.String |
getMailServer() |
java.lang.String |
getMailSubject() |
int |
getMessageSendQueueLength() |
NetIoType |
getNetIoType() |
int |
getRequestRecvQueueLength() |
int |
getResourceLockTimeout() |
java.lang.String |
getServerName() |
int |
getWebServicePort() |
boolean |
hasWebService() |
boolean |
isEmptyPasswordAllowed() |
boolean |
isLogToConsole() |
boolean |
isManageUsersInDatabase() |
void |
read(ApplicationContext ctx,
java.io.File inputFile) |
clear, equalValues, getProperties, toDumpString, write
equals, getConfigFileIn, getConfigFileName, hashCode, read, toString, write
clone, deepClone
configureDumpHeadlineLength, configureDumpMaxElementsPrinted, copyDumpStringValues, copyToStringValues, createDumpHeader, toDumpString, toString
public static final int DEFAULT_WEB_SERVICE_PORT
public final void read(ApplicationContext ctx, java.io.File inputFile) throws java.lang.Exception
read
in class AbstractServerParameters
java.lang.Exception
protected void checkConfigKeyExistence(java.util.List<ServerConfigKey> keyList)
protected void checkConfigKeyValues(LogChannel logChannel, NdfProperties props) throws ServerConfigurationException
ServerConfigurationException
- when a config key has got an invalid value.public int getWebServicePort()
public NetIoType getNetIoType()
public int getCoServerReconnectDelay()
public boolean hasWebService()
public boolean isLogToConsole()
public boolean isManageUsersInDatabase()
public boolean isEmptyPasswordAllowed()
public java.lang.String getServerName()
public java.lang.String getMailServer()
public java.lang.String getMailAccount()
public java.lang.String getMailPassword()
public java.lang.String getMailSubject()
public java.lang.String getMailSender()
public int getResourceLockTimeout()
public int getDefaultAsyncAgentTimeout()
public int getMessageSendQueueLength()
public int getRequestRecvQueueLength()
protected final void fillDefaultValues(NdfProperties props)
fillDefaultValues
in class AbstractServerParameters
protected void fillServerConfigValues(NdfProperties props) throws java.lang.Exception
java.lang.Exception
protected final NdfWriter createNdfWriter(ApplicationContext ctx, java.io.File outputFile)
createNdfWriter
in class AbstractServerParameters
protected NdfHandler createNdfHandler()
createNdfHandler
in class AbstractServerParameters
Copyright © 2014 EsprIT-Systems. All Rights Reserved.