@Retention(value=RUNTIME) @Target(value=METHOD) @Documented public @interface AcriAspect
| 限定符和类型 | 可选元素和说明 |
|---|---|
boolean |
after
是否启用后置通知
|
String |
afterAroundMethod
启用环绕通知(后置环绕)调用的默认方法名称
|
String |
afterMethod
启用后置通知调用的默认方法名称
|
boolean |
around
是否启用环绕通知
|
boolean |
before
是否启用前置通知
|
String |
beforeAroundMethod
启用环绕通知(前置环绕)调用的默认方法名称
|
String |
beforeMethod
启用前置通知调用的默认方法名称
|
boolean |
throwing
是否启用异常通知
|
String |
throwingMethod
启用异常通知调用的默认方法名称
|
public abstract Class<?> fallback
public abstract String beforeMethod
public abstract String beforeAroundMethod
public abstract String afterAroundMethod
public abstract String afterMethod
public abstract String throwingMethod
Copyright © 2023. All rights reserved.