WEB4J Development Tools 4.10.0.0

hirondelle.web4jtools.logview.directories
Class LogInfoDAO

Object
  extended by hirondelle.web4jtools.logview.directories.LogInfoDAO

public final class LogInfoDAO
extends Object

Save and fetch the current LogInfo.

This implementation does not store items in a database. Rather, the following mechanism is used :


Field Summary
static String LOG_INFO_KEY
          Key under which LogInfo objects are stored (in both application and session scopes.)
 
Constructor Summary
LogInfoDAO(HttpServletRequest aRequest)
          Full constructor
 
Method Summary
 LogInfo fetch()
          Fetch a LogInfo from either session scope (preferred) or application scope (default).
static void readConfig(ServletConfig aConfig)
          Read in config from web.xml.
 void save(LogInfo aDirInfo)
          Save an 'override' LogInfo into session scope.
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG_INFO_KEY

public static final String LOG_INFO_KEY
Key under which LogInfo objects are stored (in both application and session scopes.)

See Also:
Constant Field Values
Constructor Detail

LogInfoDAO

public LogInfoDAO(HttpServletRequest aRequest)
Full constructor

Method Detail

readConfig

public static void readConfig(ServletConfig aConfig)
Read in config from web.xml. Called only upon startup. Place a default LogInfo object in application scope.


fetch

public LogInfo fetch()
Fetch a LogInfo from either session scope (preferred) or application scope (default).


save

public void save(LogInfo aDirInfo)
Save an 'override' LogInfo into session scope.


WEB4J Development Tools 4.10.0.0

Copyright Hirondelle Systems - Generated 2013Oct19.12.26