[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[aspectj-users] Is this possible with AspectJ (or AOP in general)?
- From: ernii <ernii_23@xxxxxxx>
- Date: Fri, 9 Feb 2007 23:02:55 -0800 (PST)
- Delivered-to: firstname.lastname@example.org
I'm new to AOP and trying to understand wether I can do the thinks I want to
do with AOP (especially AspectJ wich seems to be the most complete solution
- and I really like eclipse ;)
I would like to add some general behaviour while painting to all swing
components that I am using in my program ... not only the onces I create in
So I tried to make a pointcut at void
java.awt.Component.paint(java.awt.Graphics) and that worked only with
classes within my project that have overriden the paint method.... is there
a way (I thought with load- or runtime weaving it should be possible) to do
that? Do I need to configure the LTW or is it just not possible?
View this message in context: http://www.nabble.com/Is-this-possible-with-AspectJ-%28or-AOP-in-general%29--tf3204488.html#a8898438
Sent from the AspectJ - users mailing list archive at Nabble.com.