Files
notes_estom/Spring/Spring5/code/shangguigu03/src/bean05.xml
2022-10-14 23:39:59 +08:00

17 lines
841 B
XML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?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>