spring集合标签

<?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:aop="http://www.springframework.org/schema/aop"
	xmlns:tx="http://www.springframework.org/schema/tx" xmlns:context="http://www.springframework.org/schema/context" xmlns:util="http://www.springframework.org/schema/util"
	xsi:schemaLocation="   
   http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd   
   http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.0.xsd   
   http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.0.xsd   
 http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd    
http://www.springframework.org/schema/util classpath:/org/springframework/beans/factory/xml/spring-util-3.0.xsd
 "
	default-autowire="byName">
	<util:map id="sqlMapClientTemplateMap" map-class="java.util.HashMap" key-type="java.lang.Integer"
		value-type="org.springframework.orm.ibatis.SqlMapClientTemplate">
		<entry key="1" value-ref="mysqlTemplate1" />
		<entry key="2" value-ref="mysqlTemplate2" />
		<entry key="3" value-ref="mysqlTemplate3" />
		<entry key="4" value-ref="mysqlTemplate4" />
	</util:map>
</beans>

 

你可能感兴趣的:(spring)