Discussion:
Examples of properties files
pchacin
2008-07-22 08:12:45 UTC
Permalink
Hi guys

I'm new to picocontainer. My project requires alot of parameters
parameter injection from a properties file. I will appreciate if you
could point me to some examples, besides the one provides in the wiki,
of how to do so for both constructor and setter based injection. I'm
particularly interested in samples with the respective properties files
because it is not clear for me how to write them.

Thanks in advance.


Sorry if this has been asked before, but the codehouse mailing list
search just sucks!
--
========================================================================
0 0 0 Pablo Chacin | Dept. d'Arquitectura de Computadors
0 0 0 e-mail: pchacin-***@public.gmane.org | UPC-Campus Nord. Modul D6-212
0 0 0 phone: +34 +93 405 4059 | Jordi Girona, 1-3
U P C fax: +34 +93 401 7055 | 08034 Barcelona - SPAIN
www: http://personals.ac.upc.es/pchacin
========================================================================


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

http://xircles.codehaus.org/manage_email
Konstantin Priblouda
2008-07-24 07:41:06 UTC
Permalink
Properties are suported by means of PropertiesPicoContainer
( whichwould parse property files, and place entries as string/string,
or just vanilla string instances),
and ConfigParameter ( which wouldlook for those strings and try to
convert them)

There shall be test cases in actual sources, but my online time is
somehow limited as I'm on vacation until 2.8.08 - so I can not assist you more
than this right now.


regards,
----[ Konstantin Pribluda http://www.pribluda.de ]----------------
JTec quality components: http://www.pribluda.de/projects/
Subject: [picocontainer-user] Examples of properties files
Date: Tuesday, July 22, 2008, 11:12 AM
Hi guys
I'm new to picocontainer. My project requires alot of
parameters
parameter injection from a properties file. I will
appreciate if you
could point me to some examples, besides the one provides
in the wiki,
of how to do so for both constructor and setter based
injection. I'm
particularly interested in samples with the respective
properties files
because it is not clear for me how to write them.
Thanks in advance.
Sorry if this has been asked before, but the codehouse
mailing list
search just sucks!
--
========================================================================
0 0 0 Pablo Chacin | Dept.
d'Arquitectura de Computadors
D6-212
0 0 0 phone: +34 +93 405 4059 | Jordi Girona, 1-3
U P C fax: +34 +93 401 7055 | 08034 Barcelona - SPAIN
www: http://personals.ac.upc.es/pchacin
========================================================================
---------------------------------------------------------------------
http://xircles.codehaus.org/manage_email
---------------------------------------------------------------------
To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

Loading...