Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] Precedence in @AspectJ?

oh nice!

I did not even know about the Developer's Handbook. That's goldmine stuff. 

I just perused the whole thing, and the "if()" may provide a workaround for some of the issues i'm facing..

2010/7/14 Andy Clement <andrew.clement@xxxxxxxxx>
Hi Stephen,

Did you see @DeclarePrecedence ?

http://eclipse.org/aspectj/doc/next/adk15notebook/ataspectj-declare.html

cheers,
Andy

On 14 July 2010 15:49, Stephen Boesch <javadba@xxxxxxxxx> wrote:
> Does annotation based @AspectJ support precedence?
> If I have
> @Aspect
> public class LowerPriorityAspect {
> ..
> }
> @Aspect
> public class HigherPriorityAspect {
> ..
> }
>
> Then
> public class SomeAdvisedClass {
>
> public void someMethodAdvisedByBothAspects() {
> }
>
> }
> So, how would I perform the equivalent of:
>
> declare precedence : HigherPriorityAspect, LowerPriorityAspect
>
> using the @AspectJ syntax?
>
> In general, I'm stuck with @AspectJ at this point due to my tool chain.
>
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>
>
_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users


Back to the top