Re: [picocontainer-dev] Bug or feature?
Konstantin Priblouda <kpriblouda-/[email protected]>
| Newsgroups | gmane.comp.java.picocontainer.devel |
|---|---|
| Message-ID | <[email protected]> |
--- peter royal <[email protected]> wrote: > On Nov 25, 2007, at 8:07 AM, Konstantin Priblouda > wrote: > > A lot of complexity arises from fact, that adapter > > itself is not aware of container it resides. > > yeah, this has always bugged me too... its only the > odd case where an > adapter may be in multiple containers (only when the > user provides an > adapter and does that). Somehow I can not imagine legitimate use case for this. Well, it could be usefull to be able to clone container and keep all the results of dependency resolution ( say, all dependenecies are verified, constructors choosen and keys are known ) - but I do not see easy way to achieve this in current architecture. As CAs are caching (potentially) a lot of sensitive information inside, I doubt it is usefull to have CA to resolve against multiple containers. > its something i'd be happy to see changed.. there is refactoring branch with a lot of failing unit tests - you are welcome ;) regards, ----[ Konstantin Pribluda http://www.pribluda.de ]---------------- JTec quality components: http://www.pribluda.de/projects/ ____________________________________________________________________________________ Be a better sports nut! Let your teams follow you with Yahoo Mobile. Try it now. http://mobile.yahoo.com/sports;_ylt=At9_qDKvtAbMuh1G1SQtBI7ntAcJ --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email