Re: [picocontainer-dev] [Paul?] DPC.initForConfig()

Konstantin Priblouda <kpriblouda-/[email protected]>
Newsgroups gmane.comp.java.picocontainer.devel
Message-ID <[email protected]>
--- Paul Hammant <[email protected]> wrote:

> 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.

well, I think  in this case it shall be limited to
APC.
I'm kind of unhappy with the idea of stray components
appearing out of nowhere.

To avoid resoluition by type APC could simply refuse
to do it instead providing fake components. 
WDYT?

regards,

----[ Konstantin Pribluda http://www.pribluda.de ]----------------
JTec quality components: http://www.pribluda.de/projects/


       
____________________________________________________________________________________
Pinpoint customers who are looking for what you sell. 
http://searchmarketing.yahoo.com/

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.