<?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="some" class="Some" autowire="autodetect" init-method="init"
destroy-method="destroy">
<property name="list">
<list>
<value>${list}</value>
</list>
</property>
<property name="set">
<set>
<value>${set}</value>
</set>
</property>
<property name="map">
<map>
<entry key="map" value="${map}" />
</map>
</property>
<property name="mapref">
<map>
<entry key-ref="other" value-ref="other" />
</map>
</property>
<property name="properties">
<props>
<prop key="prop">${prop} </prop>
</props>
</property>
<property name="strings" value="${strings}"></property>
<property name="date" value="${date}"></property>
</bean>
<!-- 设置属性编辑器类 -->
<bean class="org.springframework.beans.factory.config.CustomEditorConfigurer">
<property name="customEditors">
<map>
<entry key="java.util.Date">
<bean class="DateEditor"></bean>
</entry>
</map>
</property>
</bean>
</beans>