- 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 TypeMethodDescriptionvoid
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
Called before an I/O (CRUD) operation has occurred.- Parameters:
method
- theDAO
method which will be invoked after thisargs
- the list of arguments supplied to theDAO
method called
-
onPostInvoke
Called after an I/O (CRUD) operation has occurred.- Parameters:
method
- theDAO
method which was invoked before thisargs
- the list of arguments supplied to theDAO
method calledresult
- the result of the IO operation
-