Re: [picocontainer-dev] config parameter - work started

Jörg Schaible <[email protected]>
Newsgroups gmane.comp.java.picocontainer.devel
Message-ID <[email protected]>
Hi Konstantin,

Konstantin Priblouda wrote:

> Hi all,
> 
> I just checked in first try of config parameter
> ( o.n.config.ConfigParameter ) - comments are welcome.
> 
> 
> I reused xstream SingleValueConverters (that's why it
> goes into nanocontainer), but resident xstream gurus
> could find better way to configure mapping from class
> to
> converter.

Just one side-note: You currently create a Map with Class ==> SVC mapping.
However, some converters handle the same types. This is especially true for
the ISO8601 types.
 
> BTW, ToStringConverter couldbe improved (maybe)
> to be generic - not bound to concrete class.

It might not be a good idea to use this converter for any class that
declares a ctor with a String argument ... you might get some surprises :)

> comments are welcome.

- Jörg


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