public class AspectJAfterThrowingAdvice extends AbstractAspectJAdvice implements MethodInterceptor, AfterAdvice, Serializable
aspectJAdviceMethod, JOIN_POINT_KEY| 构造器和说明 |
|---|
AspectJAfterThrowingAdvice(Method aspectJBeforeAdviceMethod,
AspectJExpressionPointcut pointcut,
AspectInstanceFactory aif) |
| 限定符和类型 | 方法和说明 |
|---|---|
Object |
invoke(MethodInvocation mi)
方法实现说明:执行我们的异常通知
|
boolean |
isAfterAdvice()
Return whether this is an after advice.
|
boolean |
isBeforeAdvice()
Return whether this is a before advice.
|
void |
setThrowingName(String name) |
argBinding, buildSafePointcut, calculateArgumentBindings, createParameterNameDiscoverer, currentJoinPoint, getAspectClassLoader, getAspectInstanceFactory, getAspectJAdviceMethod, getAspectName, getDeclarationOrder, getDiscoveredReturningGenericType, getDiscoveredReturningType, getDiscoveredThrowingType, getJoinPoint, getJoinPointMatch, getJoinPointMatch, getOrder, getPointcut, invokeAdviceMethod, invokeAdviceMethod, invokeAdviceMethodWithGivenArgs, setArgumentNames, setArgumentNamesFromStringArray, setAspectName, setDeclarationOrder, setReturningName, setReturningNameNoCheck, setThrowingNameNoCheck, supportsProceedingJoinPoint, toStringpublic AspectJAfterThrowingAdvice(Method aspectJBeforeAdviceMethod, AspectJExpressionPointcut pointcut, AspectInstanceFactory aif)
public boolean isBeforeAdvice()
AspectJPrecedenceInformationisBeforeAdvice 在接口中 AspectJPrecedenceInformationpublic boolean isAfterAdvice()
AspectJPrecedenceInformationisAfterAdvice 在接口中 AspectJPrecedenceInformationpublic void setThrowingName(String name)
setThrowingName 在类中 AbstractAspectJAdvicepublic Object invoke(MethodInvocation mi) throws Throwable
invoke 在接口中 MethodInterceptormi - ReflectiveMethodInvocationThrowable