<?xml version="1.0" encoding="GB18030"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
<bean id="abstactother" abstract="true">
<constructor-arg value="${constructor}" />
</bean>
<bean id="other" class="Other" parent="abstactother" scope="prototype">
<property name="string" value="${other}" />
</bean>
<bean id="bean" factory-bean="otherFactory" factory-method="getIOther" />
<bean id="otherFactory" class="OtherFactory">
<property name="string" value="${string}" />
</bean>
<bean class="OtherFactory"/>
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<property name="location" value="applicationContext.properties"/>
</bean>
<bean id="method" class="OtherFactory" factory-method="getOther" />
<!-- 注册监听器 -->
<bean class="Listener"></bean>
</beans>
string=<property name="string" value='' /> constructor=<constructor-arg value=''/> strings=spring,struts,hibernate date=2012-01-09 other=<property name='string' value='' /> list=<property name='list'><list><value></value></list></property> set=<property name='set'><set><value></value></set></property> map=<property name='map'><map><entry key='map' value='' /></map></property> prop=<property name='properties'><props><prop key='prop'></prop></props></property>