Re: AspectJClassLoader

Jason van Zyl <[email protected]> 05 Aug 2003 19:00:23 -0400
Newsgroups gmane.comp.java.plexus.devel
Organization Zenplex
Message-ID <1060124423.15729.302.camel@pooh>
On Thu, 2003-07-17 at 13:22, Stephen Haberman wrote:
> 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).

That is very cool, I just plain missed this email when you first posted
it. I will definitely take a look at the code.

> http://sh5.beachead.com:8080/~stephen/aspectj-classloader-docs/index.html
> 
> http://sh5.beachead.com:8080/repos/aspectj-classloader
> 
> - Stephen
> _______________________________________________
> Plexus-dev mailing list
> [email protected]
> http://lists.codehaus.org/mailman/listinfo/plexus-dev
-- 
jvz.

Jason van Zyl
[email protected]
http://tambora.zenplex.org

In short, man creates for himself a new religion of a rational
and technical order to justify his work and to be justified in it.
  
  -- Jacques Ellul, The Technological Society