nzabo.codegen.codegen-test.1.0-RELEASE.source-code.beans.xml Maven / Gradle / Ivy
<?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:context="http://www.springframework.org/schema/context" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.2.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.2.xsd"> <!-- 采用注释的方式配置bean --> <context:annotation-config/> <!-- 配置要扫描的包 --> <context:component-scan base-package="com.github.lynzabo.testmybatis"/> <!-- 引入属性文件 --> <context:property-placeholder location="classpath:jdbc.properties" /> <import resource="classpath:beans-dao.xml"/> </beans>