AspectJClassLoader

Stephen Haberman <[email protected]> Thu, 17 Jul 2003 12:22:43 -0500
Newsgroups gmane.comp.java.plexus.devel
Message-ID <[email protected]>
Hey,

I spent the last few days playing around with applying AspectJ
aspects at runtime, and came up with a ClassLoader that will apply
aspects (e.g. from a JAR, I haven't tested from a straight class
yet) to classes as they are loaded.

So far it works really well, and with restricting it to only weave a
few certain classes that I know I want aspects applied to, the
performance is great (before it was weaving all of the classes from
our app and that took ~ 30-40 seconds, which is fine for production,
but got long when running the unit tests).

http://sh5.beachead.com:8080/~stephen/aspectj-classloader-docs/index.html

http://sh5.beachead.com:8080/repos/aspectj-classloader

- Stephen