> 
> public aspect TestAdviceExecution {
> 
>        pointcut methods(): execution(public * *(..));
> 
>        before(): methods() && !adviceexecution() {
>                Log.logging("Logging...");
>        }
> 
> }
> 
> I do not know if I am right, but why do I have to use the cflow in
this
> example?

Because your pointcuts matches execution joinpoints, some of which are
in the class Logger (and not in an advice!). 

Eric
_______________________________________________
aspectj-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/aspectj-users

Reply via email to