I can't think of anything better than Tahirs solution.  Is there a
problem with making the differentiation between what you are and
aren't interested in during the advice call?

Andy

2009/5/15 João Paulo Sabino de Moraes <[email protected]>:
> Thanks Tahir,
> It will probably work, but using this way, even when the methodToBeReached()
> is called after the handle at event instantiated at m2(), it will be reached
> by the second pointcut too... the treatment is just ocurring inside the
> aspect but I'd like to just intercept the method called by event
> instantiated at m1... I don't know if it's possible
>
> thanks again
>
> --
> jp
>
> _______________________________________________
> 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