public interface IModuleCallbackProvider
Modifier and Type | Method and Description |
---|---|
boolean |
hasPostExecutionCallback(java.lang.reflect.Method method)
Check if the provider has a post execution callback for the given method.
|
boolean |
hasPreExecutionCallback(java.lang.reflect.Method method)
Check if the provider has a pre execution callback for the given method.
|
void |
postExecutionCallback(java.lang.reflect.Method method,
java.lang.Object result)
Actual callback after the method got executed.
|
void |
preExecutionCallback(java.lang.reflect.Method method,
java.lang.Object[] parameters)
Actual callback before the method gets executed.
|
boolean hasPreExecutionCallback(java.lang.reflect.Method method)
method
- method to look uptrue
if a pre execution callback is providedboolean hasPostExecutionCallback(java.lang.reflect.Method method)
method
- method to look uptrue
if a post execution callback is providedvoid preExecutionCallback(java.lang.reflect.Method method, java.lang.Object[] parameters)
method
- method that triggers callbackparameters
- method call parametersvoid postExecutionCallback(java.lang.reflect.Method method, java.lang.Object result)
method
- method that triggers callback