[jboss-dev-forums] [JBoss Microcontainer Development POJO Server] - Adding a ClassLoader import exclusion filter
jason.greene@jboss.com
do-not-reply at jboss.com
Thu Oct 15 18:02:29 EDT 2009
We seem to have some cases where we need an isolated deployment to ignore specific packages from a parent. A common example would be a WAR shipping it's own implementation of JSF.
Anther similar case is a deployment wanting to exclude particular resources. As an example a child deployment of an isolated ear may call getResources("META-INF/common-name.xml") and end up pulling in stuff from the server that it does not actually want (in particular non isolated deployments).
To solve the former, I was thinking about adding an enhancement to classloading that would allow a policy which excluded a package list from all parent and/or module imports.
Does this sound reasonable? Or am I missing something?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260644#4260644
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260644
More information about the jboss-dev-forums
mailing list