java.lang.Object
com.erudika.para.core.listeners.WebhookIOListener
- All Implemented Interfaces:
IOListener
Listens for IO events and forwards them to the registered webhooks, via a queue.
- Author:
- Alex Bogdanovski [alex@erudika.com]
-
Constructor Summary
Constructors -
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.
-
Constructor Details
-
WebhookIOListener
public WebhookIOListener()
-
-
Method Details
-
onPreInvoke
Description copied from interface:IOListenerCalled before an I/O (CRUD) operation has occurred.- Specified by:
onPreInvokein interfaceIOListener- Parameters:
method- theDAOmethod which will be invoked after thisargs- the list of arguments supplied to theDAOmethod called
-
onPostInvoke
Description copied from interface:IOListenerCalled after an I/O (CRUD) operation has occurred.- Specified by:
onPostInvokein interfaceIOListener- Parameters:
method- theDAOmethod which was invoked before thisargs- the list of arguments supplied to theDAOmethod calledresult- the result of the IO operation
-