• Spring 4 官方文档学习(七)核心技术之Spring AOP APIs


    请忽略本篇内容!!!

     

    1、介绍

    2、Spring中的pointcut API

    2.1、概念

    2.2、对pointcut的操作

    2.3、 AspectJ expression pointcut

    2.4、方便的pointcut实现

    静态pointcut

    正则表达式pointcut

    属性驱动的pointcut

    动态pointcut

    控制流pointcut

    2.5、 pointcut 父类

    2.6、 自定义pointcut

    3、 Spring中的advice API

    3.1、 advice生命周期

    3.2、 Spring中的advice类型

    围绕advice的拦截器

    before advice

    throws advice

    after returning advice

    introduction advice

    4、 Spring中的advisor API

    5、使用ProxyFactoryBean创建AOP代理

    5.1、 基本

    5.2、 JavaBean properties

    5.3、 JDK和CGLIB代理

    5.4、 代理接口

    5.5、 代理类

    5.6、 使用global advisors

    6、 精简proxy定义

    7、 使用ProxyFactory编码式创建AOP代理

    8、 操作advised objects

    9、 使用auto-proxy工具

    9.1、 Autoproxy bean definitions

    BeanNameAutoProxyCreator

    DefaultAdvisorAutoProxyCreator

    AbstractAdvisorAutoProxyCreator

    9.2、 使用元数据驱动的auto-proxying

    10、 使用TargetSources

    10.1、Hot swappable target sources

    10.2、 Pooling target sources

    10.3、 Prototype target sources

    10.4、 ThreadLocal target sources

    11、 定义新的advice类型

    12、 更多资源

     

     

    1、介绍

    前面已经介绍过Spring对AOP的支持。这一章我们来讨论下在Spring 1.2 应用中的lower-level Spring AOP APIs和AOP 支持。-- 对于新应用,我们推荐使用Spring 2.0及以后的AOP支持。

    Spring 4.0 向后兼容 Spring 1.2, Spring 4.0 支持本章描述的所有内容。

     

    2、Pointcut API in Spring

    来看一下Spring如何处理关键的pointcut概念。

    2.1、概念

     

     

     

     

     

     

     

     

     

     

     

  • 相关阅读:
    IKAnalyzer 源码走读
    如何查看java对象的大小
    lucene 一次查询多个id
    what's the difference between grouping and facet in lucene 3.5
    Java HashMap的死循环 以及 LRUCache的正确实现
    Docker 基础技术之 Linux namespace 源码分析
    Docker 基础技术之 Linux namespace 详解
    vhost-user 简介
    DPDK 全面分析
    vhost:一种 virtio 高性能的后端驱动实现
  • 原文地址:https://www.cnblogs.com/larryzeal/p/5981859.html
Copyright © 2020-2023  润新知