Hello Tatu,

> A quick question: I am probably missing something, but
> is it really necessary to use explicit typing in
> configuration files? In many cases, one can infer the
> type either via bean-style introspection (mapping
> parameter name to field or method name, which has
> type), or by user of the parameter specifying it with
> access (getIntParameter() etc).

We don't have beans, we have a simple hash map. It is
supposed to be quick, so we don't to type conversions
at runtime, except for Integer.intValue() and such.
If you use getIntParameter(name) and the value is not
an Integer, there will be an exception. No lazy parsing
of String to int.

cheers,
  Roland

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to