(sorry, I posted before a message like this in the wrong mailing list!)
Hi all,
now one of the more stressed capability of aop and aspectj is the ease of
implementing a logging system without performing a lot of changes in the core
code. Nevertheless, as far as I know, pointcuts in aspectj cannot be assigned
to something within a method flow, for example a for loop, and this is
reasonable.
However, I wrote a lot of code where I'm interested in logging
the result of an iteration over the elements, and I guess here aspectj cannot
help keeping the core and logging functionalities separated. Am I wrong? Any
example about this?
Thanks,
Luca
|