1、切面after切点,将目标方法执行返回值,开放给切点

This commit is contained in:
刘羽铖 2019-09-25 10:17:25 +08:00
parent 34cc3dcb57
commit 84875f0ff9
2 changed files with 2 additions and 0 deletions

View File

@ -13,6 +13,7 @@ import net.sf.cglib.proxy.MethodProxy;
* Cglib实现的动态代理切面 * Cglib实现的动态代理切面
* *
* @author looly * @author looly
* @author ted.L
* *
*/ */
public class CglibInterceptor implements MethodInterceptor, Serializable { public class CglibInterceptor implements MethodInterceptor, Serializable {

View File

@ -13,6 +13,7 @@ import cn.hutool.core.util.ReflectUtil;
* JDK实现的动态代理切面 * JDK实现的动态代理切面
* *
* @author Looly * @author Looly
* @author ted.L
* *
*/ */
public class JdkInterceptor implements InvocationHandler, Serializable{ public class JdkInterceptor implements InvocationHandler, Serializable{