|Re: [aspectj-users] Question about matching JoinPoints|
Not quite sure what you want to achieve here, maybe share some
pseudocode that shows your intention?
Once you have the joinpoint object it isn't used for matching a second
time. If you want to advise advice, you use a pointcut that matches
it, like adviceexecution().
If you want to 'call' some advice in a more direct way rather than
rely on implicit invocation, perhaps you could use annotation style
aspects and then call the advice directly passing everything it needs.
(since the advice methods are not 'anonymous' like they are in code
On 11 November 2011 07:42, Andres Barrera <andres397@xxxxxxxxx> wrote:
> Hello, I got a question, I have a JoinPoint instance (for example, the one
> that you get when you use thisJoinPoint keyword), I´m receiving it from
> another aspect, and I need to match it in the receiving aspect, so an advice
> can intercept it. How can I do that?
> Thank you,
> Andrés Barrera
> aspectj-users mailing list
aspectj-users mailing list