【发布时间】:2016-04-20 12:41:28
【问题描述】:
我目前正在使用 AspectJ 1.6.9,我想知道为什么下面的切入点表达式:
(execution (* it.dtt..endpoint.*..*.invoke*(..)))
与声明的方法的执行不匹配:
protected Object invokeInternal(Object object) throws Exception
班级:
it.dtt.prova.endpoint.Richiesta
有什么想法吗?
【问题讨论】:
-
应该触发该方法名为
invokeInternal的事实。它可能是内部调用的,内部方法调用不适用于 AOP。