I would look at thisEnclosingJoinPointStaticPart when advising the
call join point.

Andy

2010/6/8 Rajat Gupta <[email protected]>:
>
> Hi all !
>
> I want to get the caller method name which calls a particular api.
> So ideally i should get "testMethod" when ever i call "logData" method.
>
> There is another question related to this after earlier part is complete I
> want to use "aspectJLogging" method when ever "logData" method is called.
> Please suggest this as well.
>
> I had attached the files.
>
> I would be very thankful for your help.
>
> Many Thanks
> Rajat
>
>
>
>
> _______________________________________________
> aspectj-users mailing list
> [email protected]
> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>
>
_______________________________________________
aspectj-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/aspectj-users

Reply via email to