Can we take the classloader scoping XML that's prevelent in jboss-app.xml, jboss-web.xml, etc... and extend SubDeployerSupport so that it looks for a classloading.xml file and sets it up?
All archive types may want this.
I mean for JBoss 4.0 as I know Adrian wants to add this for JBoss 5.0.
If your going to do that, just introduce the deployer chain concept we have been talking about so that log4j.xml setup, login-config.xml setup, etc. can be processed as well.