net.sf.ginp.config
Class ModelUtil

java.lang.Object
  extended by net.sf.ginp.config.ModelUtil

public class ModelUtil
extends java.lang.Object

This class is responsible for getting our bootstrapped configuration information

Author:
Justin Sher

Constructor Summary
ModelUtil()
           
 
Method Summary
static FolderManager getFolderManager()
           
static GinpModel getModel(javax.servlet.http.HttpServletRequest req)
          Gets a model from the http session
static GinpModel getModel(java.lang.String name)
          Thread safe creating of models identified by name for testing only Let normal http session handling handle this otherwise.
static SetupManager getSetupManager()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModelUtil

public ModelUtil()
Method Detail

getModel

public static GinpModel getModel(javax.servlet.http.HttpServletRequest req)
Gets a model from the http session

Parameters:
config - the config file
req - the servlet request
Returns:
the ginp model

getModel

public static GinpModel getModel(java.lang.String name)
Thread safe creating of models identified by name for testing only Let normal http session handling handle this otherwise.

Parameters:
config - the configuration
name - the name of the model
Returns:
the initialized model

getSetupManager

public static SetupManager getSetupManager()
Returns:
get SetupManager Singleton

getFolderManager

public static FolderManager getFolderManager()
Returns:
get FolderManager Singleton


Copyright © 2004-2007 null. All Rights Reserved.