"adrian(a)jboss.org" wrote :
| Having a getModuleForClass() would make sense.
| Why would you want it to return multiple modules?
I might have misunderstood, I just noticed that it is possible to have several
DelegateLoaders. If it can return just one, all the better.
I am not sure how this would be implemented internally in jboss-cl, but the implementation
should not try to load up the class (as for example ClassLoadeDomain.findLoaderForClass
does) since once we get the CtClass it will not be possible to weave it.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4201371#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...