e.dilect?泌和?
<?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:jee="http://www.springframework.org/schema/jee" xmlns:tx="http://www.springframework.org/schema/tx"
xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-2.5.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context- 2.5.xsd"
default-lazy-init="true">
<description>Spring巷慌塘崔猟周 </description>
<!-- 協吶鞭桟廠唹?叟延議延楚 -->
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderCon figurer">
<property name="systemPropertiesModeName" value="SYSTEM_PROPERTIES_MODE_OVERRIDE" />
<property name="ignoreResourceNotFound" value="true" />
<property name="locations">
<list>
<!-- 炎彈塘崔 -->
<value>classpath*:/application.properties</value>
<!-- 云仇蝕窟桟廠塘崔 -->
<value>classpath*:/application.local.properties</value>
<!-- 捲暦匂伏恢桟廠塘崔 -->
<!-- <value>file:/var/myapp/application.server.properties</value&g t; -->
</list>
</property>
</bean>
<!-- 聞喘annotation 徭強廣過bean,旺隠屬@Required,@Autowired議奉來 瓜廣秘 -->
<context:component-scan base-package="personal.youxia" />
<!-- 方象坿塘崔,聞喘哘喘坪議DBCP方象垂銭俊学 -->
<bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource" destroy- method="close">
<!-- Connection Info -->
<property name="driverClassName" value="com.mysql.jdbc.Driver" />
<property name="url" value="${jdbc.url}" />
<property name="username" value="${jdbc.username}" />
<property name="password" value="${jdbc.password}" />
|