Interface IOListener

  • All Known Implementing Classes:
    WebhookIOListener

    public interface IOListener
    Listens for create/read/update/delete events when DAO is called.
    Author:
    Alex Bogdanovski [alex@erudika.com]
    • Method Detail

      • 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