Interface KclHandlerMethodEndpoint

All Superinterfaces:
KclEndpoint
All Known Implementing Classes:
KclListenerEndpoint

public interface KclHandlerMethodEndpoint extends KclEndpoint
KclEndpoint specialization whose records are handled by a HandlerMethod, as is the case for KclListener annotated methods.

Endpoints that dispatch to a MessageListener directly can implement KclEndpoint instead.

Since:
4.3.0
Author:
Matej Nedic
  • Method Details

    • getBean

      Object getBean()
      The bean containing the method to invoke with the incoming records.
      Returns:
      the bean.
    • getMethod

      Method getMethod()
      The method to invoke with the incoming records.
      Returns:
      the method.
    • setHandlerMethodFactory

      void setHandlerMethodFactory(MessageHandlerMethodFactory handlerMethodFactory)
      Sets the factory creating the HandlerMethod for this endpoint.
      Parameters:
      handlerMethodFactory - the factory.
    • getHandlerMethodFactory

      MessageHandlerMethodFactory getHandlerMethodFactory()
      The factory creating the HandlerMethod for this endpoint.
      Returns:
      the factory.