- 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 Summary
Modifier and TypeMethodDescriptionvoidonPostInvoke(Method method, Object[] args, Object result) Called after an I/O (CRUD) operation has occurred.voidonPreInvoke(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- theDAOmethod which will be invoked after thisargs- the list of arguments supplied to theDAOmethod called
-
onPostInvoke
Called after an I/O (CRUD) operation has occurred.- Parameters:
method- theDAOmethod which was invoked before thisargs- the list of arguments supplied to theDAOmethod calledresult- the result of the IO operation
-