Re: [picocontainer-dev] [Paul?] DPC.initForConfig()
Paul Hammant <[email protected]>
| Newsgroups | gmane.comp.java.picocontainer.devel |
|---|---|
| Message-ID | <[email protected]> |
Config items are new for Pico2. They are always named as opposed to
typed, and there is a high likelihood that they'd be associated with
parameter names (refer http://paranamer.codehaus.org).
The dummy entries are to artificially ensure that no lookup by type
will get back a config item unless it has the right parameter name.
- Paul
On Aug 13, 2007, at 10:16 PM, Konstantin Priblouda 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 )
>
> regards,
>
> ----[ Konstantin Pribluda http://www.pribluda.de ]----------------
> JTec quality components: http://www.pribluda.de/projects/
>
>
>
> ______________________________________________________________________
> ______________
> Park yourself in front of a world of choices in alternative
> vehicles. Visit the Yahoo! Auto Green Center.
> http://autos.yahoo.com/green_center/
>
> ---------------------------------------------------------------------
> 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