|
From: <jue...@we...> - 2004-04-27 09:22:32
|
A colleague of mine just suggested that <entry> tags in XML bean =
definitions should also support non-String keys: After all, a =
java.util.Map can take any Object as key.
So instead of just the current:
<map>
<entry key=3D"myKey">
<ref bean=3D"myTarget"/>
</entry>
</map>
We could also support something like the following:
<map>
<entry>
<key>
<ref bean=3D"myKey"/>
</key>
<ref bean=3D"myTarget"/>
</entry>
</map>
The problem is the syntax: It looks odd to have the <ref> Map value at =
the same level as the <key> subtag, with the latter having a nested =
<ref> again...
Any ideas?
Juergen
DI J=FCrgen H=F6ller
Senior System Architect
______________________________________
werk3ATS - division systementwicklung
werk3AT informations- und mediensysteme
europaplatz 4
A - 4020 linz
t. +43 (0) 732 71 65 29 502
f. +43 (0) 732 71 65 29 3
mailto:jue...@we...
http://www.werk3at.com
______________________________________
werk3ATS - WIR ENTWICKELN ERFOLG
|