[jboss-dev-forums] [Design the new POJO MicroContainer] - Dependencies from scoped to global

kabir.khan@jboss.com do-not-reply at jboss.com
Tue Aug 19 09:03:56 EDT 2008


I have a bean installed in a scoped controller, which has a dependency on a bean in the global controller. If I try to install the scoped bean first, it correctly waits until I have installed the global bean. But when I undeploy the global bean, it does not stop the scoped bean. Presumably because the main controller does not look in the child controllers, and there is no information in  the DependencyItems returned by DependencyInfo.dependsOnMe as to which controller it should look for the item in.

Unless you know what I have said above is wrong, I can try to reproduce with a test case.

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

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



More information about the jboss-dev-forums mailing list