[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Circular dependency error msg problem

scott.stark@jboss.org do-not-reply at jboss.com
Tue Apr 1 11:02:51 EDT 2008


"alesj" wrote : 
  | Yeah, I don't see what D is doing there, since it should be OK.
  | It shouldn't matter that it is referenced by some other bean as its dependency.
  | Which resolution you're talking about?
B does have a dependency on D, but it is resolvable. If you look at the  AbstractDependencyInfo.resolveDependencies code, it stops looping through the unresolved DependencyItems as soon as the first unresolvable item is seen.

If all resolvable dependencies were processed and then resolveDependencies returned false, only the two cyclic dependencies would remain for the error processing.


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

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



More information about the jboss-dev-forums mailing list