mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
1、切面after切点,将目标方法执行返回值,开放给切点
2、SimpleAspect没有直接使用的意义,应修改为抽象类
This commit is contained in:
@@ -8,9 +8,10 @@ import java.lang.reflect.Method;
|
|||||||
* 可以继承此类实现自己需要的方法即可
|
* 可以继承此类实现自己需要的方法即可
|
||||||
*
|
*
|
||||||
* @author Looly
|
* @author Looly
|
||||||
|
* @author ted.L
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class SimpleAspect implements Aspect, Serializable{
|
public abstract class SimpleAspect implements Aspect, Serializable{
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Reference in New Issue
Block a user