public class AspectJAroundAdvice extends AbstractAspectJAdvice implements MethodInterceptor, SerializableSE
aspectJAdviceMethod, JOIN_POINT_KEYHIGHEST_PRECEDENCE, LOWEST_PRECEDENCE| コンストラクターと説明 |
|---|
AspectJAroundAdvice(MethodSE aspectJAroundAdviceMethod, AspectJExpressionPointcut pointcut, AspectInstanceFactory aif) |
| 修飾子と型 | メソッドと説明 |
|---|---|
ObjectSE | invoke(MethodInvocation mi) このメソッドを実装して、呼び出しの前後に追加の処理を実行します。 |
boolean | isAfterAdvice() これがアフターアドバイスかどうかを返します。 |
boolean | isBeforeAdvice() これが事前アドバイスかどうかを返します。 |
protected org.aspectj.lang.ProceedingJoinPoint | lazyGetProceedingJoinPoint(ProxyMethodInvocation rmi) 現在の呼び出しの ProceedingJoinPoint を返し、まだスレッドにバインドされていない場合は遅延してインスタンス化します。 |
protected boolean | supportsProceedingJoinPoint() |
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, setThrowingName, setThrowingNameNoCheck, toStringcloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, waitSE, waitSE, waitSEpublic AspectJAroundAdvice(MethodSE aspectJAroundAdviceMethod, AspectJExpressionPointcut pointcut, AspectInstanceFactory aif)
public boolean isBeforeAdvice()
AspectJPrecedenceInformationAspectJPrecedenceInformation の isBeforeAdvice public boolean isAfterAdvice()
AspectJPrecedenceInformationAspectJPrecedenceInformation の isAfterAdvice protected boolean supportsProceedingJoinPoint()
AbstractAspectJAdvice の supportsProceedingJoinPoint @Nullable public ObjectSE invoke(MethodInvocation mi) throws ThrowableSE
MethodInterceptorJoinpoint.proceed() を呼び出すようにします。MethodInterceptor の invoke mi - メソッド呼び出しジョインポイント Joinpoint.proceed() の呼び出しの結果。インターセプターによってインターセプトされる可能性があります ThrowableSE - インターセプターまたはターゲットオブジェクトが例外をスローする場合 protected org.aspectj.lang.ProceedingJoinPoint lazyGetProceedingJoinPoint(ProxyMethodInvocation rmi)
rmi - 属性バインディングに使用する現在の Spring AOP ReflectiveMethodInvocation