public class MethodInvocationProceedingJoinPoint extends ObjectSE implements org.aspectj.lang.ProceedingJoinPoint, org.aspectj.lang.JoinPoint.StaticPart
MethodInvocation をラップする AspectJ ProceedingJoinPoint インターフェースの実装。 注 : getThis() メソッドは、現在の Spring AOP プロキシを返します。getTarget() メソッドは、現在の Spring AOP ターゲット(ターゲットインスタンスがない場合は null の場合があります)をアドバイスなしのプレーンな POJO として返します。 オブジェクトを呼び出してアドバイスを有効にしたい場合は、getThis() を使用してください。一般的な例は、イントロダクションの実装でオブジェクトをイントロダクションされたインターフェースにキャストすることです。AspectJ 自体では、ターゲットとプロキシの間にそのような区別はありません。
| コンストラクターと説明 |
|---|
MethodInvocationProceedingJoinPoint(ProxyMethodInvocation methodInvocation) 新しい MethodInvocationProceedingJoinPoint を作成し、指定された Spring ProxyMethodInvocation オブジェクトをラップします。 |
| 修飾子と型 | メソッドと説明 |
|---|---|
ObjectSE[] | getArgs() |
int | getId() |
StringSE | getKind() |
org.aspectj.lang.Signature | getSignature() |
SourceLocation | getSourceLocation() |
org.aspectj.lang.JoinPoint.StaticPart | getStaticPart() |
ObjectSE | getTarget()Spring AOP ターゲットを返します。 |
ObjectSE | getThis()Spring AOP プロキシを返します。 |
ObjectSE | proceed() |
ObjectSE | proceed(ObjectSE[] arguments) |
void | set$AroundClosure(org.aspectj.runtime.internal.AroundClosure aroundClosure) |
StringSE | toLongString() |
StringSE | toShortString() |
StringSE | toString() |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, waitSE, waitSE, waitSEpublic MethodInvocationProceedingJoinPoint(ProxyMethodInvocation methodInvocation)
methodInvocation - Spring ProxyMethodInvocation オブジェクト public void set$AroundClosure(org.aspectj.runtime.internal.AroundClosure aroundClosure)
org.aspectj.lang.ProceedingJoinPoint の set$AroundClosure @Nullable public ObjectSE proceed() throws ThrowableSE
org.aspectj.lang.ProceedingJoinPoint の proceed ThrowableSE@Nullable public ObjectSE proceed(ObjectSE[] arguments) throws ThrowableSE
org.aspectj.lang.ProceedingJoinPoint の proceed ThrowableSEpublic ObjectSE getThis()
null にすることはできません。org.aspectj.lang.JoinPoint の getThis @Nullable public ObjectSE getTarget()
null になる場合があります。org.aspectj.lang.JoinPoint の getTarget public ObjectSE[] getArgs()
org.aspectj.lang.JoinPoint の getArgs public org.aspectj.lang.Signature getSignature()
org.aspectj.lang.JoinPoint の getSignature org.aspectj.lang.JoinPoint.StaticPart の getSignature public SourceLocation getSourceLocation()
org.aspectj.lang.JoinPoint の getSourceLocation org.aspectj.lang.JoinPoint.StaticPart の getSourceLocation public StringSE getKind()
org.aspectj.lang.JoinPoint の getKind org.aspectj.lang.JoinPoint.StaticPart の getKind public int getId()
org.aspectj.lang.JoinPoint.StaticPart の getId public org.aspectj.lang.JoinPoint.StaticPart getStaticPart()
org.aspectj.lang.JoinPoint の getStaticPart public StringSE toShortString()
org.aspectj.lang.JoinPoint の toShortString org.aspectj.lang.JoinPoint.StaticPart の toShortString public StringSE toLongString()
org.aspectj.lang.JoinPoint の toLongString org.aspectj.lang.JoinPoint.StaticPart の toLongString public StringSE toString()
org.aspectj.lang.JoinPoint の toString org.aspectj.lang.JoinPoint.StaticPart の toString ObjectSE の toStringSE