posted 13 years ago
Hi,
In my project we have a requirement to log/record total execution time of each and every method. And I am trying with Interceptors
I tried with @AroundInvoke like below, but it completes just before start of any business method and it gives me Total Execution Time Of getMessage Is 0 ms.
Ideally It should say "Total Execution Time Of getMessage Is 2000 MS." Please help me if you have any solution/suggestion on this. Thank You!
Also included the code for you reference.
//Interceptor Class