
conf.spring.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:context="http://www.springframework.org/schema/context" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd"> <!-- 引入jdbc配置文件 --> <context:property-placeholder location="classpath:conf/jdbc.properties" /> <!-- 启用spring注解支持 --> <context:annotation-config /> <!-- 开启扫描注解 扫描文件 --> <context:component-scan base-package="cn.basics.utilty.*" /> <context:component-scan base-package="cn.basics.service.*" /> <context:component-scan base-package="cn.basics.service.impl.*" /> <context:component-scan base-package="cn.basics.dao.*" /> <context:component-scan base-package="cn.basics.dao.impl.*" /> <context:component-scan base-package="cn.basics.websocket.*" /> <context:component-scan base-package="cn.basics.init.*" /> <bean class="cn.basics.thread.NotAgingReportThread" id="notAgingReportThread"></bean> </beans>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy