Class EndpointHandlerMethod

java.lang.Object
org.springframework.kafka.support.EndpointHandlerMethod
Direct Known Subclasses:
EndpointHandlerMultiMethod

public class EndpointHandlerMethod extends Object
Handler method for retrying endpoints.
Since:
2.7
Author:
Tomaz Fernandes, Gary Russell, Wang Zhiyang
  • Constructor Details

    • EndpointHandlerMethod

      public EndpointHandlerMethod(Object beanOrClass, String methodName)
    • EndpointHandlerMethod

      public EndpointHandlerMethod(Object bean)
      Construct an instance for the provided bean.
      Parameters:
      bean - the bean.
      Since:
      3.2
    • EndpointHandlerMethod

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

    • getMethod

      public Method getMethod()
      Return the method.
      Returns:
      the method.
    • getMethodName

      public String getMethodName()
      Return the method name.
      Returns:
      the name.
      Since:
      2.8
    • resolveBean

      public Object resolveBean(BeanFactory beanFactory)