spring-base.xml

2020-12-13 06:09

阅读:221

标签:component   bean   aop   --   设置   reg   pac   figure   jdb   

version="1.0" encoding="UTF-8"?>


xmlns="http://www.springframework.org/schema/beans"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:context="http://www.springframework.org/schema/context"
    xmlns:aop="http://www.springframework.org/schema/aop"
    xmlns:jdbc="http://www.springframework.org/schema/jdbc"
    xmlns:jee="http://www.springframework.org/schema/jee"
    xmlns:tx="http://www.springframework.org/schema/tx"
    xsi:schemaLocation="
    http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd
    http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.0.xsd
    http://www.springframework.org/schema/jdbc http://www.springframework.org/schema/jdbc/spring-jdbc-4.0.xsd
    http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-4.0.xsd
    http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-4.0.xsd
    http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-4.0.xsd"
    default-lazy-init="false">

  Spring入口配置文件

  id="propertyConfigurer" class="avicit.platform6.core.spring.EncryptPropertyPlaceholderConfigurer">
    name="locations">
      
        classpath*:/platform6.properties
        classpath*:/jdbc.properties
        classpath*:/quartz.properties
        classpath*:/platform6_ext.properties   //这里是项目中所使用的properties文件,在这里配置好以后,项目中就可以直接使用properties文件中的属性值了
      
    
  

  
  resource="classpath*:spring-hibernate.xml"/>

  
  resource="classpath*:spring-api.xml"/>

  
  resource="classpath*:spring-redis.xml"/>

  

  resource="classpath*:/spring-shiro.xml"/>

  resource="classpath*:/spring-common.xml"/>

  resource="classpath*:/configuration/spring/spring-assembly-*.xml"/>

  resource="classpath*:avicit/**/configuration/spring-module.xml"/>

  resource="classpath*:spring-mybatis.xml"/>

  resource="classpath*:spring-webservice.xml"/>

  resource="classpath*:spring-config-exception.xml"/>

  base-package="avicit">
    type="annotation" expression="org.springframework.stereotype.Controller"/>
    type="regex" expression="avicit\.platform6.*.configMVC.*"/>
  
  

spring-base.xml

标签:component   bean   aop   --   设置   reg   pac   figure   jdb   

原文地址:https://www.cnblogs.com/1012hq/p/11167892.html


评论


亲,登录后才可以留言!