All Packages Class Hierarchy This Package Previous Next Index
Class oncore.Configuration
java.lang.Object
|
+----oncore.Configuration
- public class Configuration
- extends Object
Class to store runtime configuration of the program. This is created as
soon as the servlet is loaded by the servlet engine for the first time.
-
Configuration(ServletConfig)
- Extracts values of all desired fields from the servletconfig.
-
getDblogin()
- Method to return data base login name.
-
getDbpasswd()
- Method to return data base password.
-
getHelpUrl()
- Method to return URL of help page.
-
getHostname()
- Method to return host name of Mail server.
-
getJdbcHost()
- Method to return jdbc host.
-
getMonth_sem()
- Method to return month to sem mapping.
-
getOuraddress()
- Method to return our own e-mail address.
-
getPhase()
- Method to return phase.
-
getPort()
- Method to return port number.
-
getStudUrl()
- Method to return URL of servlet which gives student info.
-
getUrl()
- method to return URL of our servlet.
Configuration
public Configuration(ServletConfig cfg) throws ConfigurationException
- Extracts values of all desired fields from the servletconfig.
getPhase
public static int getPhase()
- Method to return phase.
getPort
public static String getPort()
- Method to return port number.
getDblogin
public static String getDblogin()
- Method to return data base login name.
getDbpasswd
public static String getDbpasswd()
- Method to return data base password.
getJdbcHost
public static String getJdbcHost()
- Method to return jdbc host.
getMonth_sem
public static int[] getMonth_sem()
- Method to return month to sem mapping.
getHostname
public static String getHostname()
- Method to return host name of Mail server.
getOuraddress
public static String getOuraddress()
- Method to return our own e-mail address.
getUrl
public static String getUrl()
- method to return URL of our servlet.
getStudUrl
public static String getStudUrl()
- Method to return URL of servlet which gives student info.
getHelpUrl
public static String getHelpUrl()
- Method to return URL of help page.
All Packages Class Hierarchy This Package Previous Next Index