[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: KernelRegistryPlugins and dependencies
scott.stark@jboss.org
do-not-reply at jboss.com
Tue Sep 11 11:01:58 EDT 2007
In the current implementation, the InjectionHandler.addJNDIDependency(InjectionContainer container, String jndiName) needs to pass down the container.getClassLoader for use in the lookup as the thread context class loader. I'm looking at validating this fixes the current problem.
In terms of your example of multiple sources of a class, this has to be resolved based on what the deployments import/export. The deployments that source X will have to declare the class/version it exports. The deployment which consumes X will have an import statement that is matched up to a source. In the absence of an import that more specifically matches the A.jar export of X, the X found in the B.ear class loading domain should be resolved as the matching source.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4083072#4083072
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4083072
More information about the jboss-dev-forums
mailing list