WEB4J Development Tools 4.10.0.0

hirondelle.web4j.config
Class Startup

Object
  extended by Startup
All Implemented Interfaces:
StartupTasks

public final class Startup
extends Object
implements StartupTasks

Implementation of StartupTasks, required by WEB4J.


Constructor Summary
Startup()
           
 
Method Summary
static void lookUpCodeTablesAndPlaceIntoAppScope()
          Called upon startup, and when the content of a code table changes.
 void startApplication(ServletConfig aConfig, String aDbName)
          Perform startup tasks.
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Startup

public Startup()
Method Detail

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

WEB4J Development Tools 4.10.0.0

Copyright Hirondelle Systems - Generated 2013Oct19.12.26