mirror of
https://github.com/Estom/notes.git
synced 2026-05-07 22:01:55 +08:00
17 lines
841 B
XML
17 lines
841 B
XML
<?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:util="http://www.springframework.org/schema/util"
|
||
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
|
||
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd">
|
||
|
||
|
||
<bean id="order" class="com.ykl.bean.Order" scope="singleton" init-method="initMethod" destroy-method="destroyMethod">
|
||
<property name="oname" value="hello world"></property>
|
||
</bean>
|
||
|
||
<!-- 配置后置处理器,当前配置文件中的所有bean都会添加后置处理器-->
|
||
<bean id="mybeanpost" class="com.ykl.bean.MyBeanPost"></bean>
|
||
</beans>
|
||
|