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 Details

    • method

      protected final Method method
  • Constructor Details

  • Method Details

    • setApplicationContext

      public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
      Specified by:
      setApplicationContext in interface org.springframework.context.ApplicationContextAware
    • resolveIncludingAutowiredParameters

      protected final Object[] resolveIncludingAutowiredParameters(Map<Integer,Object> params)
      Resolves the configured AutowiredParameters, 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