-
1. Re: Configure a VFS classloader in jboss-classloading.xml
alesj Jun 16, 2011 6:05 PM (in response to jsebfranck)classloading != classloader ;-)
It should be
<classloader xmlns:"urn:jboss:classloader:1.0">
<root>/...../jboss-6.0.0.Final/server/default/work/</root>
-
2. Re: Configure a VFS classloader in jboss-classloading.xml
alesj Jun 16, 2011 6:14 PM (in response to alesj)But the <classloader> element can only be used as part of -jboss-beans.xml elements.
e.g. you can create a custom ClassLoader bean, which can then be used as a ClassLoader for other beans
* see how we use this feature in bootstrap/ config files
In your case you'll probably need a custom deployer,
which will either completely create ClassLoader or just add a new classpath entry / root.
* see how we do this for Seam2 integration: http://anonsvn.jboss.org/repos/jbossas/projects/jboss-seam-int/trunk/microcontainer/src/main/java/org/jboss/seam/integration/microcontainer/deployers/SeamUrlIntegrationDeployer.java