Class MethodArgumentsProvider

java.lang.Object
io.jmix.core.impl.method.MethodArgumentsProvider

public class MethodArgumentsProvider extends Object
Utility class to provide Method argument values from MethodArgumentResolver
  • Constructor Details

  • Method Details

    • getMethodArgumentValues

      public Object[] getMethodArgumentValues(Method method, Object... providedArgs) throws Exception
      Get the method argument values for the current request, checking the provided argument values and falling back to the configured argument resolvers.

      The resulting array will be passed into method annotated by InstanceName.

      Throws:
      Exception
    • findProvidedArgument

      @Nullable protected static Object findProvidedArgument(org.springframework.core.MethodParameter parameter, @Nullable Object... providedArgs)
    • formatArgumentError

      protected static String formatArgumentError(org.springframework.core.MethodParameter param, String message)