1
我无法使用spring aop性能日志记录来记录私有方法。 下面是我使用下面的配置如何通过Spring AOP记录私有方法?
<aop:config proxy-target-class="true">
<aop:pointcut id="allServiceMethods" expression="execution(* com.mycom.app.abc..*.*(..))"/>
<aop:advisor pointcut-ref="allServiceMethods" advice-ref="performanceMonitor" order="2"/>
</aop:config>
我有我的类路径上cglib
罐子的配置。
我有一些嵌套的私人方法调用,并希望记录它们以及 –