Class HandlerAdapter

java.lang.Object
org.springframework.amqp.listener.adapter.HandlerAdapter
org.springframework.amqp.rabbit.listener.adapter.HandlerAdapter

@Deprecated(since="4.1", forRemoval=true) public class HandlerAdapter extends org.springframework.amqp.listener.adapter.HandlerAdapter
Deprecated, for removal: This API element is subject to removal in a future version.
since 4.1 in favor of HandlerAdapter
A wrapper for either an InvocableHandlerMethod or DelegatingInvocableHandler. All methods delegate to the underlying handler.
Since:
1.5
  • Constructor Summary

    Constructors
    Constructor
    Description
    HandlerAdapter(org.springframework.amqp.listener.adapter.DelegatingInvocableHandler delegatingHandler)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Construct an instance with the provided delegating handler.
    HandlerAdapter(org.springframework.messaging.handler.invocation.InvocableHandlerMethod invokerHandlerMethod)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Construct an instance with the provided method.
  • Method Summary

    Methods inherited from class org.springframework.amqp.listener.adapter.HandlerAdapter

    getBean, getInvocationResultFor, getMethod, getMethodAsString, getMethodFor, getReturnTypeFor, invoke, isAsyncReplies

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • HandlerAdapter

      public HandlerAdapter(org.springframework.messaging.handler.invocation.InvocableHandlerMethod invokerHandlerMethod)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Construct an instance with the provided method.
      Parameters:
      invokerHandlerMethod - the method.
    • HandlerAdapter

      public HandlerAdapter(org.springframework.amqp.listener.adapter.DelegatingInvocableHandler delegatingHandler)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Construct an instance with the provided delegating handler.
      Parameters:
      delegatingHandler - the handler.