Guns——AOP日志框架(一)

1.简单回顾AOP @Before 前置通知(Before advice) :在某链接点(JoinPoint)——核心代码(类或者方法)以前执行的通知,但这个通知不能阻止链接点前的执行。为啥不能阻止线程进入核心代码呢?由于@Before注解的方法入参不能传ProceedingJoinPoint,而只能传入JoinPoint。要知道从aop走到核心代码就是经过调用ProceedingJionPoin
相关文章
相关标签/搜索