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:
>  Sent from the AspectJ - users mailing list archive at
>  _______________________________________________
>  aspectj-users mailing list
>  aspectj-users@xxxxxxxxxxx

Back to the top