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.


Constructor Index

 o Configuration(ServletConfig)
Extracts values of all desired fields from the servletconfig.

Method Index

 o getDblogin()
Method to return data base login name.
 o getDbpasswd()
Method to return data base password.
 o getHelpUrl()
Method to return URL of help page.
 o getHostname()
Method to return host name of Mail server.
 o getJdbcHost()
Method to return jdbc host.
 o getMonth_sem()
Method to return month to sem mapping.
 o getOuraddress()
Method to return our own e-mail address.
 o getPhase()
Method to return phase.
 o getPort()
Method to return port number.
 o getStudUrl()
Method to return URL of servlet which gives student info.
 o getUrl()
method to return URL of our servlet.

Constructors

 o Configuration
 public Configuration(ServletConfig cfg) throws ConfigurationException
Extracts values of all desired fields from the servletconfig.

Methods

 o getPhase
 public static int getPhase()
Method to return phase.

 o getPort
 public static String getPort()
Method to return port number.

 o getDblogin
 public static String getDblogin()
Method to return data base login name.

 o getDbpasswd
 public static String getDbpasswd()
Method to return data base password.

 o getJdbcHost
 public static String getJdbcHost()
Method to return jdbc host.

 o getMonth_sem
 public static int[] getMonth_sem()
Method to return month to sem mapping.

 o getHostname
 public static String getHostname()
Method to return host name of Mail server.

 o getOuraddress
 public static String getOuraddress()
Method to return our own e-mail address.

 o getUrl
 public static String getUrl()
method to return URL of our servlet.

 o getStudUrl
 public static String getStudUrl()
Method to return URL of servlet which gives student info.

 o getHelpUrl
 public static String getHelpUrl()
Method to return URL of help page.


All Packages  Class Hierarchy  This Package  Previous  Next  Index