This content has been marked as final.
Show 5 replies
-
1. Re: Arguments of method that called some other method.
bill.burke Sep 23, 2004 12:46 PM (in response to nthx)you cannot get arg1 as it is higher in the stack.
-
2. Re: Arguments of method that called some other method.
nthx Sep 23, 2004 12:53 PM (in response to nthx)"Bill Burke" wrote:
you cannot get arg1 as it is higher in the stack.
Sh.. :(
Thanks for quick answer.
t. -
3. Re: Arguments of method that called some other method.
kabirkhan Sep 23, 2004 1:01 PM (in response to nthx)But you could create in interceptor to intercept method(), and store the parameters somewhere, and then access that from your other advice.
-
4. Re: Arguments of method that called some other method.
nthx Sep 23, 2004 1:10 PM (in response to nthx)"kabkhan" wrote:
But you could create in interceptor to intercept method(), and store the parameters somewhere, and then access that from your other advice.
To make a tunnel you say. Thanks for it. It could be done, but this place of storing.. it smells bad for me. I'll consider both. For now I put my joinpoint little higher to 'method()' and it will work for me, even though it breaks consistency of my solution... :(
t. -
5. Re: Arguments of method that called some other method.
kabirkhan Sep 23, 2004 1:18 PM (in response to nthx)It was just a thought... It could be very messy - I agree.
Some combination of ThreadLocal's and cflow might help a bit