Class KotlinAwareInvocableHandlerMethod


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

      • Nested classes/interfaces inherited from class org.springframework.messaging.handler.HandlerMethod

        org.springframework.messaging.handler.HandlerMethod.HandlerMethodParameter
    • Field Summary

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

        defaultLogger, logger
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.lang.Object doInvoke​(java.lang.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, findProvidedArgument, formatArgumentError, formatInvokeError, getBean, getBeanType, getBridgedMethod, getLogger, getMethod, getMethodAnnotation, getMethodParameters, getResolvedFromHandlerMethod, getReturnType, getReturnValueType, getShortLogMessage, hashCode, hasMethodAnnotation, isVoid, setLogger, toString
      • Methods inherited from class java.lang.Object

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

      • KotlinAwareInvocableHandlerMethod

        public KotlinAwareInvocableHandlerMethod​(java.lang.Object bean,
                                                 java.lang.reflect.Method method)
    • Method Detail

      • doInvoke

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