Weaving at runtime help

View: New views
1 Messages — Rating Filter:   Alert me  

Weaving at runtime help

by David Hooker-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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