@tsing1226
2016-12-06T15:09:35.000000Z
字数 964
阅读 678
spring
<property name="lists">
<list>
<value>1</value>
<ref bean="PersonBean" />
<bean class="com.yiibai.common.Person">
<property name="name" value="yiibaiList" />
<property name="address" value="Hainan" />
<property name="age" value="28" />
</bean>
</list>
</property>
<property name="sets">
<set>
<value>1</value>
<ref bean="PersonBean" />
<bean class="com.yiibai.common.Person">
<property name="name" value="yiibaiSet" />
<property name="address" value="Hainan" />
<property name="age" value="28" />
</bean>
</set>
</property>
<property name="maps">
<map>
<entry key="Key 1" value="1" />
<entry key="Key 2" value-ref="PersonBean" />
<entry key="Key 3">
<bean class="com.yiibai.common.Person">
<property name="name" value="yiibaiMap" />
<property name="address" value="Hainan" />
<property name="age" value="28" />
</bean>
</entry>
</map>
</property>
<property name="pros">
<props>
<prop key="admin">admin@yiibai.com</prop>
<prop key="support">support@yiibai.com</prop>
</props>
</property>