
Originally Posted by
daleth
I feel like I must be missing it, but I really can't find it. Is there is a simple mechanism, within the XML configuration file, to create a bean of type java.lang.Boolean with a given true/false value? Something like <true/> or <false/> in the same vain as <null/>.
I know Spring would convert "true" in Boolean("true") if it can get at the argument type information but the case I ran into were non-typed collections (in my case, a map) where a value needs to be a Boolean. So, Spring wasn't able to figure out what the type was supposed to be.
If such <true/> and <false/> tags don't exist yet I'd like to recommend adding them, even if it's just in the util schema? Thanks!