[aspectwerkz-user] Weaving at runtime help

David Hooker <[email protected]> Tue, 10 Jun 2008 15:34:29 -0500
Newsgroups gmane.comp.java.aspectwerkz.user
Message-ID <[email protected]>
Hello AW -

I have an application where I load classes in my own classloader, and 
what I want to do is annotate certain fields with a custom annotation 
and have advice weaved into the class for those fields when I load the 
classes.  So my questions are:

* Do I need to call AW explicitly somehow (i.e. AspectWerkzPreProcessor) 
with the bytes I load?  If so, how do I do this?
* Or will AW automatically weave the class bytes when I call 
defineClass()?  If so, what do I need to do to make that happen?

I've read through the website and googled the net and mail list 
archives, and didn't really see what I was looking for.  Any pointers?

Thanks,

-David-


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email