Interceptors intercept calls to an object to perform some actions, such as logging,
transaction management and so on.
Interceptor can perform actions before the call, then it must call the
InvocationContext.proceed proceed method
and after that it can perform post-call actions if needed.
author: Alexander Ananiev
Method Summary
void
intercept(InvocationContext invocationContext) Performs pre and post invocation actions for the target object call.
Parameters: invocationContext - provides the info about this call.
Performs pre and post invocation actions for the target object call.
Parameters: invocationContext - provides the info about this call. Also calls interceptors in turn according to their order in the chain. invocationContext provides access to the return valueand thrown exceptions of this call.