Hello,
I want to know if it is possible to pass customized strings from @before and @after to my interceptors so that I can pass on different arguments to be printed on the log file?
Please help me out.
Thanks & Regards
Srikanth
Hello,
I want to know if it is possible to pass customized strings from @before and @after to my interceptors so that I can pass on different arguments to be printed on the log file?
Please help me out.
Thanks & Regards
Srikanth
Take a look at this(), args(), target() etc. pointcuts in Spring and AspectJ documentation.
-Ramnivas
Ramnivas Laddad (Follow me on Twitter)
AspectJ in Action: Enterprise AOP with Spring Applications (2nd edition). Now available!