Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] Weaving an aspect into an Aspect

Yep, just write a regular aspect to apply to your other aspects.  If
you want to pick out the execution of advice (as opposed to methods)
in your aspects, look at the adviceexecution() join point.

On 14/04/2008, breaks <astaveley@xxxxxxxxx> wrote:
>
>  Hi,
>  I wanted to weave an aspect into all my aspects. More specifically, I wanted
>  to add logging to all my aspects ' advices so that I could tell looking at
>  our application logfile if a developer had added an aspect.
>
>  Obviously this is possible, as the aspect is compiled into a class method so
>  it is just a matter of writting a subsequent aspect. I was just wondering if
>  anyone had any smarter ideas?
>
>  Thanks a million.
>
>
>
>  --
>  View this message in context: http://www.nabble.com/Weaving-an-aspect-into-an-Aspect-tp16677970p16677970.html
>  Sent from the AspectJ - users mailing list archive at Nabble.com.
>
>  _______________________________________________
>  aspectj-users mailing list
>  aspectj-users@xxxxxxxxxxx
>  https://dev.eclipse.org/mailman/listinfo/aspectj-users
>


Back to the top