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
罐子的配置。
我有一些嵌套的私人方法調用,並希望記錄它們以及 –