<util:list id = "cars">
<ref bean="car">
<ref bean="car2">
</util:list>
<bean id = "person" class ="">
<property name = "cars" ref = "cars"></property>
</bean>
util 将bean 独立出来 写法
最新推荐文章于 2022-11-03 17:21:48 发布
<util:list id = "cars">
<ref bean="car">
<ref bean="car2">
</util:list>
<bean id = "person" class ="">
<property name = "cars" ref = "cars"></property>
</bean>