hirondelle.web4j.config
Class Startup
Object
Startup
- All Implemented Interfaces:
- StartupTasks
public final class Startup
- extends Object
- implements StartupTasks
Implementation of StartupTasks
, required by WEB4J.
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Startup
public Startup()
startApplication
public void startApplication(ServletConfig aConfig,
String aDbName)
throws DAOException
- Perform startup tasks.
Calls
lookUpCodeTablesAndPlaceIntoAppScope()
, and calls various static initialization methods.
This method passes around access to the config settings in web.xml.
- Specified by:
startApplication
in interface StartupTasks
- Throws:
DAOException
lookUpCodeTablesAndPlaceIntoAppScope
public static void lookUpCodeTablesAndPlaceIntoAppScope()
throws DAOException
- Called upon startup, and when the content of a code table changes.
Refreshes the copies of code tables placed in application scope.
(In this case, the code tables are enums, and are never changed after application
startup. However, this style is retained, since it is both simple, and possibly useful
for future use.)
- Throws:
DAOException
Copyright Hirondelle Systems - Generated 2013Oct19.12.26