Discussion:
[aspectwerkz-user] Weaving at runtime help
David Hooker
2008-06-10 20:34:29 UTC
Permalink
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

Loading...