com.acciente.induction.dispatcher.model
Class ConfiguredModelFactoryPool
java.lang.Object
com.acciente.induction.dispatcher.model.ConfiguredModelFactoryPool
public class ConfiguredModelFactoryPool
- extends java.lang.Object
Internal.
This class manages instances of the the model factory classes configured in the system.
- Author:
- Adinath Raveendra Raj
Method Summary |
java.lang.Object |
getConfiguredModelFactory(java.lang.String sModelFactoryClassName)
|
boolean |
isConfiguredModelFactoryStale(java.lang.String sModelFactoryClassName)
Use to check if the specified model factory classname has been refined since it was last used by this pool |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfiguredModelFactoryPool
public ConfiguredModelFactoryPool(java.lang.ClassLoader oClassLoader,
javax.servlet.ServletConfig oServletConfig)
getConfiguredModelFactory
public java.lang.Object getConfiguredModelFactory(java.lang.String sModelFactoryClassName)
throws java.lang.ClassNotFoundException,
java.lang.reflect.InvocationTargetException,
com.acciente.commons.reflect.ParameterProviderException,
ConstructorNotFoundException,
java.lang.InstantiationException,
java.lang.IllegalAccessException
- Throws:
java.lang.ClassNotFoundException
java.lang.reflect.InvocationTargetException
com.acciente.commons.reflect.ParameterProviderException
ConstructorNotFoundException
java.lang.InstantiationException
java.lang.IllegalAccessException
isConfiguredModelFactoryStale
public boolean isConfiguredModelFactoryStale(java.lang.String sModelFactoryClassName)
throws java.lang.ClassNotFoundException
- Use to check if the specified model factory classname has been refined since it was last used by this pool
- Parameters:
sModelFactoryClassName
- the name of model factory to check
- Returns:
- true if the model factory classname has been refined since it was last used by this pool
- Throws:
java.lang.ClassNotFoundException
- propagated exception
Copyright © 2008-2009 Acciente, LLC. All Rights Reserved.