2 Star 3 Fork 2

zhangli002 / spring-aop-samples

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
README.md 723 Bytes
一键复制 编辑 原始数据 按行查看 历史
zhangli002 提交于 2017-09-28 23:30 . update

spring-aop-samples

示例包含简单的静态代理,jdk动态代理,cglib动态代理,spring编程式AOP, spring基于xml的声明式AOP, spring基于aspectj的@Aspect注解的声明式AOP, spring基于aspectj的xml注解的声明式AOP

spring-aop-declaratively-xml

虽然这种方式没有启用@Aspect注解,但是用到Aspectj style pointcut expression, 所以也要引aspectjweaver.jar

##spring1.2 spring AOP配置与最新spring AOP配置 spring1.2方式:
spring-aop-programmatically-advisor
spring-aop-declaratively-xml
最新方式:
spring-aop-programmatically-AspectJProxyFactory
spring-aop-declaratively-aspectj-annotation
spring-aop-declaratively-aspectj-xml

Java
1
https://gitee.com/zhangli002/spring-aop-samples.git
git@gitee.com:zhangli002/spring-aop-samples.git
zhangli002
spring-aop-samples
spring-aop-samples
master

搜索帮助