Spring aop之使用AspectJ

来源:互联网 发布:photoshop软件类型 编辑:程序博客网 时间:2024/05/21 10:09

相关概念的复习:
·Join point

-A point in the execution of a program such as a method call or field assigment

·Pointcut

-An expresion that selects one or more in Join point

·Adivce

-Code to be executed at a Join Point that has been selected by a Pointcut

·Aspect

-A module that encapsulates pointcut and Adivce

例子:
http://outofmemory.cn/java/spring/AOP/aop-aspectj-example-before-after-AfterReturning-afterThrowing-around