| Author |
Aspect within another aspect
|
Suhas Bilaye
Ranch Hand
Joined: Sep 10, 2009
Posts: 80
|
|
|
Can we have an AOP method interceptor itself being intercepted by some other AOP interceptor class?
|
Thanks and Regards,
Suhas
http://www.xplore-java.blogspot.com/
|
 |
Christophe Verré
Marshal
Joined: Nov 24, 2005
Posts: 14361
|
|
I bet you enjoyed the movie Inception
|
[SCBCD Wall of Fame] [My Blog]
All roads lead to JavaRanch
Help Japan. Make a donation.
|
 |
Suhas Bilaye
Ranch Hand
Joined: Sep 10, 2009
Posts: 80
|
|
Yes I did like the movie, it was awesome.
Well my question is something weird, I guess i have to figure out a work around for situation
|
 |
Christophe Verré
Marshal
Joined: Nov 24, 2005
Posts: 14361
|
|
|
Apart from the joke, I don't think that you can. But I've never dug deep enough to be 100% sure about this... Thinking about it, the proxied object whose aspect is applied to will call the interceptor instance, not a proxy of the interceptor. I don't think it's smart enough to make a proxy of the interceptor and assign it to the proxy of the first caller.
|
 |
 |
|
|
subject: Aspect within another aspect
|
|
|