Class AutowiredParameterResolver
java.lang.Object
com.opencqrs.framework.reflection.AutowiredParameterResolver
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware
public abstract class AutowiredParameterResolver
extends Object
implements org.springframework.context.ApplicationContextAware
Base class for reflective
AutowiredParameter resolution.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAutowiredParameterResolver(Method method, Set<AutowiredParameter> autowiredParameters) -
Method Summary
Modifier and TypeMethodDescriptionprotected final Object[]Resolves the configuredAutowiredParameters, merges them with the given parameter positions and returns them in order.voidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext)
-
Field Details
-
method
-
-
Constructor Details
-
AutowiredParameterResolver
-
-
Method Details
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) - Specified by:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware
-
resolveIncludingAutowiredParameters
Resolves the configuredAutowiredParameters, merges them with the given parameter positions and returns them in order.- Parameters:
params- any non-autowired positional parameter values to be included- Returns:
- an ordered array of the input and autowired params
-