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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...