Class WebhookIOListener

java.lang.Object
com.erudika.para.core.listeners.WebhookIOListener
All Implemented Interfaces:
IOListener

@Singleton public class WebhookIOListener extends Object implements IOListener
Listens for IO events and forwards them to the registered webhooks, via a queue.
Author:
Alex Bogdanovski [[email protected]]
  • Constructor Details

    • WebhookIOListener

      public WebhookIOListener()
  • Method Details

    • onPreInvoke

      public void onPreInvoke(Method method, Object[] args)
      Description copied from interface: IOListener
      Called before an I/O (CRUD) operation has occurred.
      Specified by:
      onPreInvoke in interface IOListener
      Parameters:
      method - the DAO method which will be invoked after this
      args - the list of arguments supplied to the DAO method called
    • onPostInvoke

      public void onPostInvoke(Method method, Object[] args, Object result)
      Description copied from interface: IOListener
      Called after an I/O (CRUD) operation has occurred.
      Specified by:
      onPostInvoke in interface IOListener
      Parameters:
      method - the DAO method which was invoked before this
      args - the list of arguments supplied to the DAO method called
      result - the result of the IO operation