Class CommandContextMethodArgumentResolver

java.lang.Object
org.springframework.shell.command.CommandContextMethodArgumentResolver
All Implemented Interfaces:
org.springframework.messaging.handler.invocation.HandlerMethodArgumentResolver

public class CommandContextMethodArgumentResolver extends Object implements org.springframework.messaging.handler.invocation.HandlerMethodArgumentResolver
Implementation of a HandlerMethodArgumentResolver resolving CommandContext.
  • Field Details

  • Constructor Details

    • CommandContextMethodArgumentResolver

      public CommandContextMethodArgumentResolver()
  • Method Details

    • supportsParameter

      public boolean supportsParameter(org.springframework.core.MethodParameter parameter)
      Specified by:
      supportsParameter in interface org.springframework.messaging.handler.invocation.HandlerMethodArgumentResolver
    • resolveArgument

      public Object resolveArgument(org.springframework.core.MethodParameter parameter, org.springframework.messaging.Message<?> message)
      Specified by:
      resolveArgument in interface org.springframework.messaging.handler.invocation.HandlerMethodArgumentResolver