public class AspectJAfterThrowingAdvice extends AbstractAspectJAdvice implements MethodInterceptor, AfterAdvice, java.io.Serializable
aspectJAdviceMethod, JOIN_POINT_KEYHIGHEST_PRECEDENCE, LOWEST_PRECEDENCE| コンストラクターと説明 |
|---|
AspectJAfterThrowingAdvice(java.lang.reflect.Method aspectJBeforeAdviceMethod, AspectJExpressionPointcut pointcut, AspectInstanceFactory aif) |
| 修飾子と型 | メソッドと説明 |
|---|---|
java.lang.Object | invoke(MethodInvocation mi) このメソッドを実装して、呼び出しの前後に追加の処理を実行します。 |
boolean | isAfterAdvice() これがアフターアドバイスかどうかを返します。 |
boolean | isBeforeAdvice() これが事前アドバイスかどうかを返します。 |
void | setThrowingName(java.lang.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(java.lang.reflect.Method aspectJBeforeAdviceMethod,
AspectJExpressionPointcut pointcut,
AspectInstanceFactory aif)public boolean isBeforeAdvice()
AspectJPrecedenceInformationAspectJPrecedenceInformation の isBeforeAdvice public boolean isAfterAdvice()
AspectJPrecedenceInformationAspectJPrecedenceInformation の isAfterAdvice public void setThrowingName(java.lang.String name)
AbstractAspectJAdvice の setThrowingName public java.lang.Object invoke(MethodInvocation mi) throws java.lang.Throwable
MethodInterceptorJoinpoint.proceed() を呼び出すようにします。MethodInterceptor の invoke mi - メソッド呼び出しジョインポイント Joinpoint.proceed() の呼び出しの結果。インターセプターによってインターセプトされる可能性があります java.lang.Throwable - インターセプターまたはターゲットオブジェクトが例外をスローする場合