[jboss-user] [Microcontainer] - Re: Classloading vs. VFS
ALRubinger
do-not-reply at jboss.com
Thu May 28 16:06:26 EDT 2009
"jesper.pedersen" wrote : My point is here - why do we have to define a DEFAULT_BOOT_LIBRARY_LIBS in our Main ? Splitting our classloader structure into multiple layers shouldn't be needed.
|
| Passing the classloader defined in Main to the bootstrap implementation should be enough.
You've lost me. All I do in AS Main is pass the CL to the bootstrap impl.
ClassLoader newCl = new URLClassLoader(allTheStuffInBootLib);
| Server server = ServerFactory.createServer(newCl);
| Thread.currentThread().setContextClassLoader(newCl);
| server.start();
What are you proposing should be done instead?
S,
ALR
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4233980#4233980
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4233980
More information about the jboss-user
mailing list