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

alesj do-not-reply at jboss.com
Tue Aug 19 10:02:50 EDT 2008


"kabir.khan at jboss.com" wrote : Who populates DependencyInfo.dependsOnMe? I would assume it happens when describing the side who has the dependency? i.e. the scoped bean who has a dependency on the global one? If that is correct, could/should not the controller be known for the dependencies?
Yes, it's the dependency item when it gets resolved.
We could hold the ref to controller but we don't.
It should be some other better way to resolve this.
Keeping DependencyItem simple as possible,
only holding the minimum info needed - name, dependOn, when required, state.

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

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



More information about the jboss-dev-forums mailing list