@Component public class DynamicAdvice extends Object implements org.springframework.aop.AfterReturningAdvice, org.springframework.aop.MethodBeforeAdvice, org.springframework.aop.ThrowsAdvice
| 限定符和类型 | 类和说明 |
|---|---|
static class |
DynamicAdvice.CallType |
static class |
DynamicAdvice.LevelType |
| 构造器和说明 |
|---|
DynamicAdvice() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
afterReturning(Object o,
Method method,
Object[] objects,
Object o1) |
void |
afterThrowing(Method method,
Object[] args,
Object target,
Exception ex) |
void |
before(Method method,
Object[] objects,
Object o) |
void |
beforeValue(Class<?> declaringClass,
Method method,
Boolean isDao) |
ApiCount |
getApiCount(Method method) |
void |
returnValue(Class<?> declaringClass,
Method method,
DynamicAdvice.CallType callType) |
public void before(Method method, Object[] objects, Object o) throws Throwable
before 在接口中 org.springframework.aop.MethodBeforeAdviceThrowablepublic void afterReturning(Object o, Method method, Object[] objects, Object o1) throws Throwable
afterReturning 在接口中 org.springframework.aop.AfterReturningAdviceThrowablepublic void returnValue(Class<?> declaringClass, Method method, DynamicAdvice.CallType callType)
Copyright © 2020. All rights reserved.