public class AspectJAfterThrowingAdvice extends AbstractAspectJAdvice implements MethodInterceptor, AfterAdvice, SerializableSE
aspectJAdviceMethod, JOIN_POINT_KEY
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
コンストラクターと説明 |
---|
AspectJAfterThrowingAdvice(MethodSE aspectJBeforeAdviceMethod, AspectJExpressionPointcut pointcut, AspectInstanceFactory aif) |
修飾子と型 | メソッドと説明 |
---|---|
ObjectSE | invoke(MethodInvocation mi) このメソッドを実装して、呼び出しの前後に追加の処理を実行します。 |
boolean | isAfterAdvice() これがアフターアドバイスかどうかを返します。 |
boolean | isBeforeAdvice() これが事前アドバイスかどうかを返します。 |
void | setThrowingName(StringSE 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, toString
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, waitSE, waitSE, waitSE
public AspectJAfterThrowingAdvice(MethodSE aspectJBeforeAdviceMethod, AspectJExpressionPointcut pointcut, AspectInstanceFactory aif)
public boolean isBeforeAdvice()
AspectJPrecedenceInformation
AspectJPrecedenceInformation
の isBeforeAdvice
public boolean isAfterAdvice()
AspectJPrecedenceInformation
AspectJPrecedenceInformation
の isAfterAdvice
public void setThrowingName(StringSE name)
AbstractAspectJAdvice
の setThrowingName
@Nullable public ObjectSE invoke(MethodInvocation mi) throws ThrowableSE
MethodInterceptor
Joinpoint.proceed()
を呼び出すようにします。MethodInterceptor
の invoke
mi
- メソッド呼び出しジョインポイント Joinpoint.proceed()
の呼び出しの結果。インターセプターによってインターセプトされる可能性があります ThrowableSE
- インターセプターまたはターゲットオブジェクトが例外をスローする場合