[jboss-dev-forums] [Design of AOP on JBoss (Aspects/JBoss)] - Re: ClassLoading Module usage

adrian@jboss.org do-not-reply at jboss.com
Wed Oct 3 05:41:21 EDT 2007


For what purpose?

You can't change the new classloader in an ad hoc fashion like you could the old one.
That would be very dangerous for security reasons.

When I wrote the new classloader I deliberately left those methods out that look
dangerous.

The new classloader runs off the VFS files that each [sub]deployment specifies
in the getClassPath(). So if you want to add a URL (VFS file) you should do it before the
classloader is constructed by modifying the ClassPath of the deployment in question.

See org.jboss.deployers.vfs.deployer.plugins.classloader
VFSClassLoaderPolicy and VFSTopLevelClassLoaderSystemDeployer

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

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



More information about the jboss-dev-forums mailing list