The EARStructure defines what the deployable content is in the ear along with what its
classpath is. It does not define scoping. This should be coming from the metadata of the
AppParsingDeployer (jboss-app.xml, deployer isolation property) that is passed to the
ServiceClassLoaderDeployer which should be creating the scoped ULR. I'll have to check
if this is wired up correctly. I'm working on the jboss5 testsuite so I'll look at
the existing ear isolation tests today.
On the first port of the war deployer, jbossweb didn't have a mechanism to accept a
class loader so it was commented out. It should be creating a scoped class loader by
default though, but its probably still an implementation detail of the webcontainer. It
does need to be pulled out so its available at the DeploymentUnit level. I assume that is
what you are looking for?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029430#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...