- java.lang.Object
-
- com.erudika.para.core.listeners.WebhookIOListener
-
- All Implemented Interfaces:
IOListener
@Singleton public class WebhookIOListener extends Object implements IOListener
Listens for IO events and forwards them to the registered webhooks, via a queue.- Author:
- Alex Bogdanovski [alex@erudika.com]
-
-
Constructor Summary
Constructors Constructor Description WebhookIOListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonPostInvoke(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 Detail
-
onPreInvoke
public void onPreInvoke(Method method, Object[] args)
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
public void onPostInvoke(Method method, Object[] args, Object result)
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
-
-