<beans > 
<bean id="role" class="com.now.role" > 
<property name="goods" > 
   <list> 
     <ref bean="xxx"/>
     <ref bean="xxx"/>
      //<value >111 </value >//这里我想使用其他的bean怎么办啊,就是说我要给这个list注入一组其他的bean 
   </list > 
</property > 
</bean > 
</beans >