In the <list/>, <set/>,
<map/>, and <props/> elements, you set the properties and arguments of the Java
Collection types List,
Set, Map, and
Properties, respectively.
<bean id="moreComplexObject" class="example.ComplexObject">
<!-- results in a setAdminEmails(java.util.Properties) call -->
<property name="adminEmails">
<props>
<prop key="administrator">administrator@example.org</prop>
<prop key="support">supp......
阅读全文