Class KotlinAwareInvocableHandlerMethod

java.lang.Object
org.springframework.core.annotation.AnnotatedMethod
org.springframework.messaging.handler.HandlerMethod
org.springframework.messaging.handler.invocation.InvocableHandlerMethod
org.springframework.amqp.rabbit.listener.adapter.KotlinAwareInvocableHandlerMethod

public class KotlinAwareInvocableHandlerMethod extends org.springframework.messaging.handler.invocation.InvocableHandlerMethod
An InvocableHandlerMethod extension for supporting Kotlin suspend function.
Since:
3.0.5
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.springframework.core.annotation.AnnotatedMethod

    org.springframework.core.annotation.AnnotatedMethod.AnnotatedMethodParameter
  • Field Summary

    Fields inherited from class org.springframework.messaging.handler.HandlerMethod

    defaultLogger, logger
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected Object
    doInvoke(Object... args)
     

    Methods inherited from class org.springframework.messaging.handler.invocation.InvocableHandlerMethod

    getMethodArgumentValues, invoke, setMessageMethodArgumentResolvers, setParameterNameDiscoverer

    Methods inherited from class org.springframework.messaging.handler.HandlerMethod

    assertTargetBean, createWithResolvedBean, equals, formatInvokeError, getBean, getBeanType, getContainingClass, getLogger, getResolvedFromHandlerMethod, getShortLogMessage, hashCode, setLogger

    Methods inherited from class org.springframework.core.annotation.AnnotatedMethod

    findProvidedArgument, formatArgumentError, getBridgedMethod, getMethod, getMethodAnnotation, getMethodParameters, getReturnType, getReturnValueType, hasMethodAnnotation, isVoid, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • KotlinAwareInvocableHandlerMethod

      public KotlinAwareInvocableHandlerMethod(Object bean, Method method)
  • Method Details

    • doInvoke

      protected Object doInvoke(Object... args) throws Exception
      Overrides:
      doInvoke in class org.springframework.messaging.handler.invocation.InvocableHandlerMethod
      Throws:
      Exception