Re: [picocontainer-dev] assymetry in resolution ( by key / by type )
Jörg Schaible <[email protected]>
| Newsgroups | gmane.comp.java.picocontainer.devel |
|---|---|
| Message-ID | <[email protected]> |
Konstantin Priblouda wrote:
> Hi all,
>
> I discovered that there is assymetry in parameter
> resolution in DPC.
>
> While DPC.getComponentAdapter(key) will descend into
> parent containers, DPC-getComponentAdapter(class) will
> not ( in this case descending is handler in
> BasicComponentParameter )
>
> While refactoring parameters, I would like to iron out
> this assymetry ( and also simplify parameters & logic
> )
>
> Is there an explanation why it should be done this
> way?
I tried that also once, but some unit tests will fail. However, it was too
long ago, I cannot remember the reason for the actual difference.
- Jörg
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email