public class AspectJMethodBeforeAdvice extends AbstractAspectJAdvice implements MethodBeforeAdvice, SerializableSE
aspectJAdviceMethod, JOIN_POINT_KEY
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
コンストラクターと説明 |
---|
AspectJMethodBeforeAdvice(MethodSE aspectJBeforeAdviceMethod, AspectJExpressionPointcut pointcut, AspectInstanceFactory aif) |
修飾子と型 | メソッドと説明 |
---|---|
void | before(MethodSE method, ObjectSE[] args, ObjectSE target) 特定のメソッドが呼び出される前のコールバック。 |
boolean | isAfterAdvice() これがアフターアドバイスかどうかを返します。 |
boolean | isBeforeAdvice() これが事前アドバイスかどうかを返します。 |
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, supportsProceedingJoinPoint, toString
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, waitSE, waitSE, waitSE
public AspectJMethodBeforeAdvice(MethodSE aspectJBeforeAdviceMethod, AspectJExpressionPointcut pointcut, AspectInstanceFactory aif)
public void before(MethodSE method, ObjectSE[] args, @Nullable ObjectSE target) throws ThrowableSE
MethodBeforeAdvice
MethodBeforeAdvice
の before
method
- 呼び出されるメソッド args
- メソッドへの引数 target
- メソッド呼び出しのターゲット。null
の場合があります。ThrowableSE
- このオブジェクトが呼び出しを中止したい場合。スローされた例外は、メソッドシグネチャーで許可されている場合、呼び出し元に返されます。それ以外の場合、例外はランタイム例外としてラップされます。public boolean isBeforeAdvice()
AspectJPrecedenceInformation
AspectJPrecedenceInformation
の isBeforeAdvice
public boolean isAfterAdvice()
AspectJPrecedenceInformation
AspectJPrecedenceInformation
の isAfterAdvice