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 [[email protected]]
-
Constructor Summary
-
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.
-
Constructor Details
-
WebhookIOListener
public WebhookIOListener()
-
-
Method Details
-
onPreInvoke
Description copied from interface:IOListener
Called before an I/O (CRUD) operation has occurred.- Specified by:
onPreInvoke
in interfaceIOListener
- Parameters:
method
- theDAO
method which will be invoked after thisargs
- the list of arguments supplied to theDAO
method called
-
onPostInvoke
Description copied from interface:IOListener
Called after an I/O (CRUD) operation has occurred.- Specified by:
onPostInvoke
in interfaceIOListener
- Parameters:
method
- theDAO
method which was invoked before thisargs
- the list of arguments supplied to theDAO
method calledresult
- the result of the IO operation
-