zoukankan      html  css  js  c++  java
  • 各种Xml的配置

    cglib包 做动态代理 直接代理的是类 而不是接口。 cglib 有三个通知 在4.0当中管他叫增强 在3.0当中叫通知 前置通知 环绕通知 (发生在目标行为之前和之后,能够更改方法的入参,也能够更改方法的出参,也能够更改方法的返回值,也能够阻止方法的运行) 后置通知 (发生在目标行为执行之后,方法绝对已经执行过了) ================================================================================================= 扫描包 xmlns:context="http://www.springframework.org/schema/context" http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd"> ================================================================================================= aop (“启用切面注解”) xmlns:aop="http://www.springframework.org/schema/aop" http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd"> ================================================================================================= 启用声明式事务注解(@Transactional 给业务层加(就是接口的实现类加 )代替了切面 ) xmlns:tx="http://www.springframework.org/schema/tx" http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.0.xsd =================================================================================================
  • 相关阅读:
    Windows2012中安装PHP-5.6.20+Apache httpd2.4.18+Composer+Laravel+MySQL5.7
    CentOS7安装使用MySQL
    使用passenger在Centos7部署Puma+Nginx+Ruby on Rails
    DOS和UNIX文本文件之间相互转换的方法
    CentOS7安装vim7.4
    Python多版本共存之pyenv
    我的Shell + VIM配置
    CentOS7安装Python3.5
    CentOS7系统下搭建Jenkins环境
    Windows系统下搭建Jenkins环境
  • 原文地址:https://www.cnblogs.com/wangchao422/p/9667893.html
Copyright © 2011-2022 走看看