JBoss Community

Re: Configure a VFS classloader in jboss-classloading.xml

created by Ales Justin in JBoss Microcontainer - View the full discussion

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

Reply to this message by going to Community

Start a new discussion in JBoss Microcontainer at Community