Return to www.inductionframework.org

com.acciente.induction.dispatcher.model
Class ModelFactory.ModelParameterProvider

java.lang.Object
  extended by com.acciente.induction.dispatcher.model.ModelFactory.ModelParameterProvider
All Implemented Interfaces:
com.acciente.commons.reflect.ParameterProvider
Enclosing class:
ModelFactory

public static class ModelFactory.ModelParameterProvider
extends java.lang.Object
implements com.acciente.commons.reflect.ParameterProvider

Internal.


Constructor Summary
ModelFactory.ModelParameterProvider(ModelPool oModelPool, javax.servlet.http.HttpServletRequest oHttpServletRequest)
           
 
Method Summary
 java.lang.Object getParameter(java.lang.Class oValueType)
          Returns the value for a parameter given the Parameter type
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModelFactory.ModelParameterProvider

public ModelFactory.ModelParameterProvider(ModelPool oModelPool,
                                           javax.servlet.http.HttpServletRequest oHttpServletRequest)
Method Detail

getParameter

public java.lang.Object getParameter(java.lang.Class oValueType)
                              throws com.acciente.commons.reflect.ParameterProviderException
Description copied from interface: com.acciente.commons.reflect.ParameterProvider
Returns the value for a parameter given the Parameter type

Specified by:
getParameter in interface com.acciente.commons.reflect.ParameterProvider
Parameters:
oValueType - a class object representing the parameter type
Returns:
null or an object representing the parameter type
Throws:
com.acciente.commons.reflect.ParameterProviderException - should be used to wrap any exception that the implementation class may wish to propagate

Return to www.inductionframework.org

Copyright (c) 2008 Acciente, LLC. All rights reserved.