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

adrian@jboss.org do-not-reply at jboss.com
Tue Jan 13 09:48:35 EST 2009


I've uploaded a 2.0.2-SNAPSHOT of jboss-cl for you to try.

This has a Module.getModuleForClass() which at least for our classloader implementation
doesn't load the class. 

See BaseClassLoader.findClassLoaderForClass() for how it works
without exposing nasty things. ;-)

You'll need to put its use in a privileged block since I require the
new RuntimePermission("getClassLoader") with a security manager installed.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4201405#4201405

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



More information about the jboss-dev-forums mailing list