mirror of
https://github.com/Estom/notes.git
synced 2026-05-12 03:26:37 +08:00
spring 完结
This commit is contained in:
18
Spring/Spring5/code/shangguigu03/src/bean02.xml
Normal file
18
Spring/Spring5/code/shangguigu03/src/bean02.xml
Normal file
@@ -0,0 +1,18 @@
|
||||
<?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">
|
||||
|
||||
<util:list id="bookList">
|
||||
<value>zhangsan</value>
|
||||
<value>xiaosan</value>
|
||||
</util:list>
|
||||
<bean id="book" class="com.ykl.collectiontype.Book">
|
||||
<property name="bookList" ref="bookList">
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
</beans>
|
||||
|
||||
Reference in New Issue
Block a user