public class ParameterArrayMaker extends Object implements ParameterArrayFactory
Constructor and Description |
---|
ParameterArrayMaker(InjectionStrategyFactory injectionStrategyFactory) |
Modifier and Type | Method and Description |
---|---|
Object[] |
getParameterArray(Class<?>[] paramType,
Annotation[][] paramAnnotations,
ApplicationContext applicationContext)
Given the parameters, an array of objects is composed from objects found in the given ApplicationContext.
|
public ParameterArrayMaker(InjectionStrategyFactory injectionStrategyFactory)
injectionStrategyFactory
- the factory for injectingpublic Object[] getParameterArray(Class<?>[] paramType, Annotation[][] paramAnnotations, ApplicationContext applicationContext)
ParameterArrayFactory
getParameterArray
in interface ParameterArrayFactory
paramType
- the typesparamAnnotations
- the possible annotations found on each typeapplicationContext
- the application context to look in to satisfy parametersCopyright © 2012 redlab.be. All Rights Reserved.