xml value-type hard to determine for list/set or maps from the metadata [SPR-5556] #10227
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
type: enhancement
A general enhancement
Milestone
Costin Leau opened SPR-5556 and commented
Through XML it is possible to specify a default value type for list, sets and for a map keys and values. However, the parser doesn't store this information in the metadata and just uses it internally. The only workaround for the moment, is for clients to reparse the XML nodes, providing they have access to them.
A quick solution would be to add another field to ManagedLists/Sets/Maps to store this information (i.e. defaultTypeClassName). This can be done in BeanDefinitionDelegate class, in methods parseList/Set/MapElement
Affects: 2.5.6
Issue Links:
Referenced from: commits 1b5812d
The text was updated successfully, but these errors were encountered: