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 Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionresolveArgument
(org.springframework.core.MethodParameter parameter, org.springframework.messaging.Message<?> message) boolean
supportsParameter
(org.springframework.core.MethodParameter parameter)
-
Field Details
-
HEADER_COMMAND_CONTEXT
- See Also:
-
-
Constructor Details
-
CommandContextMethodArgumentResolver
public CommandContextMethodArgumentResolver()
-
-
Method Details
-
supportsParameter
public boolean supportsParameter(org.springframework.core.MethodParameter parameter) - Specified by:
supportsParameter
in interfaceorg.springframework.messaging.handler.invocation.HandlerMethodArgumentResolver
-
resolveArgument
public Object resolveArgument(org.springframework.core.MethodParameter parameter, org.springframework.messaging.Message<?> message) - Specified by:
resolveArgument
in interfaceorg.springframework.messaging.handler.invocation.HandlerMethodArgumentResolver
-