Spring aop(Aspectj)對dynamic proxy的類是無能爲力的

    spring的aop是基於代理的,aspectj的aop的織入方式有如下幾種: compile-time weaving, post-compile time weaving, and load-time weaving。spring基於aspectj的話是load-time weaving(LTW)。html

    就沒有針對dynamic proxy(動態代理)的weaving(織入)~spring

    參考:eclipse

    一、https://eclipse.org/aspectj/doc/released/devguide/ltw.htmlide

相關文章
相關標籤/搜索