Join Points
程序运行时的执行点,可以作为切面的地方。
函数的调用,执行
获取,设置变量
类初始化
PointCut
带条件的JoinPoints
Advice
一种Hook,要插入代码的位置:
Before:PointCut之前执行
After:PointCut之后执行
Around:PointCut之前,之后分别执行


程序运行时的执行点,可以作为切面的地方。
函数的调用,执行
获取,设置变量
类初始化
带条件的JoinPoints
一种Hook,要插入代码的位置:
Before:PointCut之前执行
After:PointCut之后执行
Around:PointCut之前,之后分别执行
本文标题:AOP
本文链接:https://www.haomeiwen.com/subject/yjkdbqtx.html
网友评论