JBoss Community

Re: Custom ClassLoader

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

classloader element takes explicit roots -- paths to jars, etc.

* http://anonsvn.jboss.org/repos/jbossas/projects/jboss-cl/branches/Branch_2_0/classloading-vfs/src/main/java/org/jboss/classloading/spi/vfs/metadata/VFSClassLoaderFactory.java

 

Just create CustomCL bean -- no need for classloader element, and set this as classloader to other beans.

 

Having classloader per whole deployment (whole -beans.xml) is a bit trickier,

as it's chicken-n-egg problem.

Reply to this message by going to Community

Start a new discussion in JBoss Microcontainer at Community