RE: [picocontainer-dev] [Paul?] DPC.initForConfig()
Jörg Schaible <[email protected]>
| Newsgroups | gmane.comp.java.picocontainer.devel |
|---|---|
| Message-ID | <[email protected]> |
Paul Hammant wrote on Tuesday, August 14, 2007 7:32 AM: > No, I think that's right. It means there are too many possibilities > rather than too few. Hmmm. I think I'm with Konstantin. Ambigous means for me, that there are too many *matching* deps and Pico does not know which to take. If no component matches, they're ignored and therefore I'd extpected UnsatisfiableDependenciesException also ... but just my 2 cents. - Jörg > > - Paul > > On Aug 13, 2007, at 10:23 PM, Konstantin Priblouda wrote: > >> >> --- Konstantin Priblouda <kpriblouda-/[email protected]> wrote: >> >>> Hi Paul, >>> >>> I do not grok puprose of initForConfig() - somehow >>> it registers 7 dummy components but what for? >>> ( it leads to failing unit test in nano-groovy ) >> >> And another Question related to this: >> >> APCTestCase.testAmbigousIfNoSuitableTypesForInjection() >> checks for >> AbstractInjector.AmbiguousComponentResolutionException >> >> Shall it be UnsatisfiableDependenciesException >> instead? >> >> regards, >> >> >> >> ----[ Konstantin Pribluda http://www.pribluda.de ]---------------- >> JTec quality components: http://www.pribluda.de/projects/ >> >> >> >> > ______________________________________________________________ > ________ >> ______________Ready for the edge of your seat? >> Check out tonight's top picks on Yahoo! TV. >> http://tv.yahoo.com/ >> >> > --------------------------------------------------------------------- >> To unsubscribe from this list please visit: >> >> http://xircles.codehaus.org/manage_email >> > > > --------------------------------------------------------------------- > To unsubscribe from this list please visit: > > http://xircles.codehaus.org/manage_email --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email