Interface IOListener

All Known Implementing Classes:
WebhookIOListener

public interface IOListener
Listens for create/read/update/delete events when DAO is called.
Author:
Alex Bogdanovski [[email protected]]
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onPostInvoke(Method method, Object[] args, Object result)
    Called after an I/O (CRUD) operation has occurred.
    void
    onPreInvoke(Method method, Object[] args)
    Called before an I/O (CRUD) operation has occurred.
  • Method Details

    • onPreInvoke

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

      void onPostInvoke(Method method, Object[] args, Object result)
      Called after an I/O (CRUD) operation has occurred.
      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