[jboss-user] [JBoss Microcontainer] - Re: Configure a VFS classloader in jboss-classloading.xml

Ales Justin do-not-reply at jboss.com
Thu Jun 16 18:14:51 EDT 2011


Ales Justin [http://community.jboss.org/people/alesj] created the discussion

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

To view the discussion, visit: http://community.jboss.org/message/610692#610692

--------------------------------------------------------------
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 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
[http://community.jboss.org/message/610692#610692]

Start a new discussion in JBoss Microcontainer at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2114]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110616/bf018fbc/attachment.html 


More information about the jboss-user mailing list