public class AspectJAroundAdvice extends AbstractAspectJAdvice implements MethodInterceptor, java.io.Serializable
aspectJAdviceMethod, JOIN_POINT_KEY
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
コンストラクターと説明 |
---|
AspectJAroundAdvice(java.lang.reflect.Method aspectJAroundAdviceMethod, AspectJExpressionPointcut pointcut, AspectInstanceFactory aif) |
修飾子と型 | メソッドと説明 |
---|---|
java.lang.Object | 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, toString
public AspectJAroundAdvice(java.lang.reflect.Method aspectJAroundAdviceMethod, AspectJExpressionPointcut pointcut, AspectInstanceFactory aif)
public boolean isBeforeAdvice()
AspectJPrecedenceInformation
AspectJPrecedenceInformation
の isBeforeAdvice
public boolean isAfterAdvice()
AspectJPrecedenceInformation
AspectJPrecedenceInformation
の isAfterAdvice
protected boolean supportsProceedingJoinPoint()
AbstractAspectJAdvice
の supportsProceedingJoinPoint
public java.lang.Object invoke(MethodInvocation mi) throws java.lang.Throwable
MethodInterceptor
Joinpoint.proceed()
を呼び出すようにします。MethodInterceptor
の invoke
mi
- メソッド呼び出しジョインポイント Joinpoint.proceed()
の呼び出しの結果。インターセプターによってインターセプトされる可能性があります java.lang.Throwable
- インターセプターまたはターゲットオブジェクトが例外をスローする場合 protected org.aspectj.lang.ProceedingJoinPoint lazyGetProceedingJoinPoint(ProxyMethodInvocation rmi)
rmi
- 属性バインディングに使用する現在の Spring AOP ReflectiveMethodInvocation