Class ParameterInjectionInformation


  • public final class ParameterInjectionInformation
    extends Object
    When creating the actual value for an injected parameter, this class holds further information about the current use case class, the method and the current request map.
    • Constructor Detail

      • ParameterInjectionInformation

        public ParameterInjectionInformation()
    • Method Detail

      • injectionInformation

        public static ParameterInjectionInformation injectionInformation​(Class<?> useCaseClass,
                                                                         String methodName,
                                                                         Map<String,​Object> parameterMap)
        Factory method to create a new ParameterInjectionInformation.
        Parameters:
        useCaseClass - the current use case class
        methodName - the name of the method
        parameterMap - the current request map
        Returns:
        the newly created ParameterInjectionInformation