Example usage for org.springframework.messaging.handler.invocation.reactive InvocableHandlerMethod InvocableHandlerMethod

List of usage examples for org.springframework.messaging.handler.invocation.reactive InvocableHandlerMethod InvocableHandlerMethod

Introduction

In this page you can find the example usage for org.springframework.messaging.handler.invocation.reactive InvocableHandlerMethod InvocableHandlerMethod.

Prototype

public InvocableHandlerMethod(HandlerMethod handlerMethod) 

Source Link

Document

Create an instance from a HandlerMethod .

Usage

From source file:org.springframework.messaging.handler.invocation.reactive.InvocableHelper.java

/**
 * Create {@link InvocableHandlerMethod} with the configured arg resolvers.
 * @param handlerMethod the target handler method to invoke
 * @return the created instance//from w w w.java  2 s.c o  m
 */

public InvocableHandlerMethod initMessageMappingMethod(HandlerMethod handlerMethod) {
    InvocableHandlerMethod invocable = new InvocableHandlerMethod(handlerMethod);
    invocable.setArgumentResolvers(this.argumentResolvers.getResolvers());
    return invocable;
}