[jboss-user] [Microcontainer] - Re: Classloading docs?
emmartins
do-not-reply at jboss.com
Wed Nov 12 07:50:26 EST 2008
almost there:
VirtualFile tempClassDeploymentDirVF = VFS.getRoot(getTempClassDeploymentDir().toURL());
VFSClassLoaderPolicy classLoaderPolicy = VFSClassLoaderPolicy.createVFSClassLoaderPolicy(tempClassDeploymentDirVF);
ClassLoader classLoader = classLoaderSystem.registerClassLoaderPolicy(classLoaderPolicy);
This registers the policy pointing to the URL in the default domain, that's fine, the issue now is that once I change to this class loader it doesn't see other classes in the class loader domain. Perhaps any config detail of the policy is missing?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4188762#4188762
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4188762
More information about the jboss-user
mailing list