[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Context ClassLoader - Deployers

adrian@jboss.org do-not-reply at jboss.com
Thu Jan 24 19:51:41 EST 2008


Just to make it clear with this change and  http://jira.jboss.com/jira/browse/JBMICROCONT-230

What will happen now by default is that a my-deployer-beans.xml
will get its own classloader (it's a deployment). 

The deployer in that xml will install into the MainDeployer which will remember the
classloader (its the context classloader) for invoking un/deploy() of the deployer.

This is more intuitive than using the bootstrap classloader or some random
context classloader of an RMI/HTTP thread when invoking deployers.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123285#4123285

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123285



More information about the jboss-dev-forums mailing list