com.acciente.induction.dispatcher.model
Class ModelPool

java.lang.Object
  extended by com.acciente.induction.dispatcher.model.ModelPool

public class ModelPool
extends Object

Internal. This class manages access to the pool model objects

Author:
Adinath Raveendra Raj

Constructor Summary
ModelPool(Config.ModelDefs oModelDefs, ModelFactory oModelFactory, javax.servlet.ServletContext oServletContext)
           
 
Method Summary
 Object getModel(Class oModelClass, javax.servlet.http.HttpServletRequest oHttpServletRequest)
           
 Object getSystemModel(Class oSystemModelClass, javax.servlet.http.HttpServletRequest oHttpServletRequest)
           
 void initAppModel(String sModelClassName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModelPool

public ModelPool(Config.ModelDefs oModelDefs,
                 ModelFactory oModelFactory,
                 javax.servlet.ServletContext oServletContext)
          throws MethodNotFoundException,
                 InvocationTargetException,
                 ClassNotFoundException,
                 ConstructorNotFoundException,
                 com.acciente.commons.reflect.ParameterProviderException,
                 IllegalAccessException,
                 InstantiationException
Throws:
MethodNotFoundException
InvocationTargetException
ClassNotFoundException
ConstructorNotFoundException
com.acciente.commons.reflect.ParameterProviderException
IllegalAccessException
InstantiationException
Method Detail

initAppModel

public void initAppModel(String sModelClassName)
                  throws MethodNotFoundException,
                         InvocationTargetException,
                         ClassNotFoundException,
                         ConstructorNotFoundException,
                         com.acciente.commons.reflect.ParameterProviderException,
                         IllegalAccessException,
                         InstantiationException
Throws:
MethodNotFoundException
InvocationTargetException
ClassNotFoundException
ConstructorNotFoundException
com.acciente.commons.reflect.ParameterProviderException
IllegalAccessException
InstantiationException

getModel

public Object getModel(Class oModelClass,
                       javax.servlet.http.HttpServletRequest oHttpServletRequest)
                throws MethodNotFoundException,
                       InvocationTargetException,
                       ClassNotFoundException,
                       ConstructorNotFoundException,
                       com.acciente.commons.reflect.ParameterProviderException,
                       IllegalAccessException,
                       InstantiationException
Throws:
MethodNotFoundException
InvocationTargetException
ClassNotFoundException
ConstructorNotFoundException
com.acciente.commons.reflect.ParameterProviderException
IllegalAccessException
InstantiationException

getSystemModel

public Object getSystemModel(Class oSystemModelClass,
                             javax.servlet.http.HttpServletRequest oHttpServletRequest)
                      throws MethodNotFoundException,
                             ClassNotFoundException,
                             InvocationTargetException,
                             com.acciente.commons.reflect.ParameterProviderException,
                             ConstructorNotFoundException,
                             InstantiationException,
                             IllegalAccessException
Throws:
MethodNotFoundException
ClassNotFoundException
InvocationTargetException
com.acciente.commons.reflect.ParameterProviderException
ConstructorNotFoundException
InstantiationException
IllegalAccessException


Copyright © 2008-2013 Acciente, LLC. All Rights Reserved.