码迷,mamicode.com
首页 > 编程语言 > 详细

spring配置文件

时间:2017-08-17 20:15:04      阅读:219      评论:0      收藏:0      [点我收藏+]

标签:conf   ack   ring   5.x   ase   文件   配置文件   package   beans   

<beans xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns="http://www.springframework.org/schema/beans" 
    xmlns:aop="http://www.springframework.org/schema/aop"
    xmlns:context="http://www.springframework.org/schema/context" 
    xmlns:tx="http://www.springframework.org/schema/tx"
    xmlns:cache="http://www.springframework.org/schema/cache" 
    xmlns:p="http://www.springframework.org/schema/p"
    xsi:schemaLocation="http://www.springframework.org/schema/beans 
     http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
     http://www.springframework.org/schema/aop
     http://www.springframework.org/schema/aop/spring-aop-2.5.xsd
     http://www.springframework.org/schema/context
     http://www.springframework.org/schema/context/spring-context-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/cache 
     http://www.springframework.org/schema/cache/spring-cache-2.5.xsd">
    <context:annotation-config/>
    <context:component-scan base-package="com.*"/>
</beans>

 

spring配置文件

标签:conf   ack   ring   5.x   ase   文件   配置文件   package   beans   

原文地址:http://www.cnblogs.com/ShaoXin/p/7383805.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!