net.commerce.zocalo.service
Class ServerUtil

java.lang.Object
  extended by net.commerce.zocalo.service.ServerUtil
Direct Known Subclasses:
ServletUtil, ShutdownDB

public abstract class ServerUtil
extends java.lang.Object

utilities common to running a web server. Currently aggregates configuration file tools.


Field Summary
static java.lang.String DEFAULT_DB_FILE_KEY
           
static java.lang.String DEFAULT_DB_URL_KEY
           
 
Constructor Summary
ServerUtil()
           
 
Method Summary
static java.util.Properties readConfigFile()
           
protected static java.lang.String readDBConfigFromProps(java.util.Properties props)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_DB_FILE_KEY

public static final java.lang.String DEFAULT_DB_FILE_KEY
See Also:
Constant Field Values

DEFAULT_DB_URL_KEY

public static final java.lang.String DEFAULT_DB_URL_KEY
See Also:
Constant Field Values
Constructor Detail

ServerUtil

public ServerUtil()
Method Detail

readConfigFile

public static java.util.Properties readConfigFile()

readDBConfigFromProps

protected static java.lang.String readDBConfigFromProps(java.util.Properties props)