mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-04-19 03:01:48 +08:00
1、切面after切点,将目标方法执行返回值,开放给切点
This commit is contained in:
parent
34cc3dcb57
commit
84875f0ff9
@ -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 {
|
||||||
|
@ -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{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user