<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 独立出来 写法
最新推荐文章于 2024-05-23 16:06:15 发布
<util:list id = "cars">
<ref bean="car">
<ref bean="car2">
</util:list>
<bean id = "person" class ="">
<property name = "cars" ref = "cars"></property>
</bean>