[jboss-dev-forums] [Design of AOP on JBoss (Aspects/JBoss)] - Re: Reimplementing ClassPools for AS

kabir.khan@jboss.com do-not-reply at jboss.com
Tue Jan 13 08:25:55 EST 2009


"adrian at 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#4201371

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4201371



More information about the jboss-dev-forums mailing list