|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.northwestern.at.wordhoard.server.Config
class Config
The server configuration manager.
Reads the properties file "wordhoard.config" in the server directory.
Method Summary | |
---|---|
(package private) static java.lang.String |
getDatabasePassword()
Gets the database password. |
(package private) static java.lang.String |
getDatabaseURL()
Gets the database URL. |
(package private) static java.lang.String |
getDatabaseUsername()
Gets the database username. |
(package private) static java.lang.String |
getLogConfigFilePath()
Gets the log configuration file path. |
(package private) static java.lang.String |
getPath()
Gets the path to the server directory. |
(package private) static int |
getRmiPort()
Gets the RMI port. |
(package private) static int |
getRmiRegistryPort()
Gets the RMI registry port. |
(package private) static java.lang.String |
getUserDataDatabasePassword()
Gets the userDataUserDataDatabase password. |
(package private) static java.lang.String |
getUserDataDatabaseURL()
Gets the userDataUserDataDatabase URL. |
(package private) static java.lang.String |
getUserDataDatabaseUsername()
Gets the userDataUserDataDatabase username. |
(package private) static void |
read(java.lang.String path)
Reads the server configuration file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
static void read(java.lang.String path) throws java.lang.Exception
path
- Path to the server directory.
java.lang.Exception
static java.lang.String getPath()
static java.lang.String getDatabaseURL()
static java.lang.String getDatabaseUsername()
static java.lang.String getDatabasePassword()
static java.lang.String getUserDataDatabaseURL()
static java.lang.String getUserDataDatabaseUsername()
static java.lang.String getUserDataDatabasePassword()
static java.lang.String getLogConfigFilePath()
static int getRmiRegistryPort()
static int getRmiPort()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |