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