Mendix Context in a ListenersRegistry handler

1
Hi. I’m making a generic module that should handle the After Commit event on any kind of entities. I’m trying to utilize ListenersRegistry for that task https://apidocs.rnd.mendix.com/9/runtime/com/mendix/core/actionmanagement/ListenersRegistry.html#registerAfterCommitListener(java.util.function.Consumer) The problem is there’s no IContext parameter in the callback, but I need it to make some additional queries. How to obtain the current context?  
asked
0 answers