[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: KernelRegistryPlugins and dependencies

wolfc do-not-reply at jboss.com
Mon Sep 10 07:17:31 EDT 2007


The current implementation doesn't use scoping rules at all for interface dependencies and limited scoping for link dependencies.
I haven't got a clue on how to get this properly up and running.
What should happen in the following scenario:
1. A.jar containing Bean1 implementing X gets deployed
2. B.ear containing C.jar containing Bean2 dependend on X, and containing D.jar containing Bean3 implementing X gets deployed.

Suppose Bean2 goes first then it's dependencies are satisfied by A.jar (which is wrong). Or should all beans depend on a scoped 'registry is complete' supply?

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

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



More information about the jboss-dev-forums mailing list