<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:aop="http://www.springframework.org/schema/aop"
xmlns:tx="http://www.springframework.org/schema/tx" xmlns:context="http://www.springframework.org/schema/context"
xmlns:p="http://www.springframework.org/schema/p"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-4.0.xsd
http://www.springframework.org/schema/tx
http://www.springframework.org/schema/tx/spring-tx-4.0.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-4.0.xsd
http://www.springframework.org/schema/aop
http://www.springframework.org/schema/aop/spring-aop-4.0.xsd">
<bean id="hw" class=" com.lanou.spring.HelloWorld"></bean>
<bean id="add" class="com.lanou.spring.AddCaculator"></bean>
<bean id="li" class="com.lanou.liguocheng.User" >
<constructor-arg name="str" value="liguocheng"></constructor-arg>
<constructor-arg name="age" value="18"></constructor-arg>
<constructor-arg name="info" ref="info" ></constructor-arg>
<property name="list">
<list>
<value>pc1</value>
<value>pc2</value>
</list>
</property>
<property name="map">
<map>
<entry>
<key>
<value>pp</value>
</key>
<value>pc5</value>
</entry>
</map>
</property>
<property name="set">
<set>
<value>c1</value>
<value>c2</value>
</set>
</property>
<property name="arrays">
<array>
<value>array111</value>
<value>array222</value>
</array>
</property>
<property name="listUserFo">
<list>
<ref bean="info"/>
<ref bean="info"/>
</list>
</property>
<!-- <property name="name" value="pengchong"></property> -->
</bean>
<bean id="info" class="com.lanou.liguocheng.UserInfo" p:nickName="26cmdada" scope="prototype">
<!-- <property name="nickName" value="superman"></property> -->
</bean>
<!-- <bean id="hw" class="com.lanou.springtest.HelloWorld"></bean> -->
</beans>