Return to www.inductionframework.org

com.acciente.induction.init
Class InitializerParameterProvider

java.lang.Object
  extended by com.acciente.induction.init.InitializerParameterProvider
All Implemented Interfaces:
com.acciente.commons.reflect.ParameterProvider

public class InitializerParameterProvider
extends java.lang.Object
implements com.acciente.commons.reflect.ParameterProvider

InitializerParameterProvider, used by the initializer classes to inject models into the intializer constructor.


Constructor Summary
InitializerParameterProvider(ModelPool oModelPool, java.lang.String sMessagePrefix)
           
 
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

InitializerParameterProvider

public InitializerParameterProvider(ModelPool oModelPool,
                                    java.lang.String sMessagePrefix)
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.