クラス MethodInvocationProceedingJoinPoint
java.lang.ObjectSE
org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint
- 実装されたすべてのインターフェース:
JoinPoint
、JoinPoint.StaticPart
、ProceedingJoinPoint
public class MethodInvocationProceedingJoinPoint
extends ObjectSE
implements ProceedingJoinPoint, JoinPoint.StaticPart
AOP Alliance
MethodInvocation
をラップする AspectJ ProceedingJoinPoint
インターフェースの実装。 注 : getThis()
メソッドは、現在の Spring AOP プロキシを返します。getTarget()
メソッドは、現在の Spring AOP ターゲット(ターゲットインスタンスがない場合は null
の場合があります)をアドバイスなしのプレーンな POJO として返します。 オブジェクトを呼び出してアドバイスを有効にしたい場合は、getThis()
を使用してください。一般的な例は、イントロダクションの実装でオブジェクトをイントロダクションされたインターフェースにキャストすることです。AspectJ 自体では、ターゲットとプロキシの間にそのような区別はありません。
- 導入:
- 2.0
- 作成者:
- Rod Johnson, Juergen Hoeller, Adrian Colyer, Ramnivas Laddad
ネストされたクラスのサマリー
インターフェース org.aspectj.lang.JoinPoint から継承されたネストクラス / インターフェース
JoinPoint.EnclosingStaticPart, JoinPoint.StaticPart
フィールドサマリー
インターフェース org.aspectj.lang.JoinPoint から継承されたフィールド
ADVICE_EXECUTION, CONSTRUCTOR_CALL, CONSTRUCTOR_EXECUTION, EXCEPTION_HANDLER, FIELD_GET, FIELD_SET, INITIALIZATION, METHOD_CALL, METHOD_EXECUTION, PREINITIALIZATION, STATICINITIALIZATION, SYNCHRONIZATION_LOCK, SYNCHRONIZATION_UNLOCK
コンストラクターのサマリー
コンストラクターコンストラクター説明MethodInvocationProceedingJoinPoint
(ProxyMethodInvocation methodInvocation) 新しい MethodInvocationProceedingJoinPoint を作成し、指定された Spring ProxyMethodInvocation オブジェクトをラップします。方法の概要
修飾子と型メソッド説明ObjectSE[]
getArgs()
int
getId()
getKind()
Spring AOP ターゲットを返します。getThis()
Spring AOP プロキシを返します。proceed()
void
set$AroundClosure
(AroundClosure aroundClosure) toString()
クラス java.lang.ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, wait, waitSE, waitSE
インターフェース org.aspectj.lang.ProceedingJoinPoint から継承されたメソッド
stack$AroundClosure
コンストラクターの詳細
MethodInvocationProceedingJoinPoint
新しい MethodInvocationProceedingJoinPoint を作成し、指定された Spring ProxyMethodInvocation オブジェクトをラップします。- パラメーター:
methodInvocation
- Spring ProxyMethodInvocation オブジェクト
メソッドの詳細
set$AroundClosure
- 次で指定:
- インターフェース
ProceedingJoinPoint
のset$AroundClosure
proceed
- 次で指定:
- インターフェース
ProceedingJoinPoint
のproceed
- 例外:
ThrowableSE
proceed
- 次で指定:
- インターフェース
ProceedingJoinPoint
のproceed
- 例外:
ThrowableSE
getThis
Spring AOP プロキシを返します。null
にすることはできません。getTarget
Spring AOP ターゲットを返します。ターゲットがない場合は、null
になる場合があります。getArgs
getSignature
- 次で指定:
- インターフェース
JoinPoint
のgetSignature
- 次で指定:
- インターフェース
JoinPoint.StaticPart
のgetSignature
getSourceLocation
- 次で指定:
- インターフェース
JoinPoint
のgetSourceLocation
- 次で指定:
- インターフェース
JoinPoint.StaticPart
のgetSourceLocation
getKind
- 次で指定:
- インターフェース
JoinPoint
のgetKind
- 次で指定:
- インターフェース
JoinPoint.StaticPart
のgetKind
getId
public int getId()- 次で指定:
- インターフェース
JoinPoint.StaticPart
のgetId
getStaticPart
- 次で指定:
- インターフェース
JoinPoint
のgetStaticPart
toShortString
- 次で指定:
- インターフェース
JoinPoint
のtoShortString
- 次で指定:
- インターフェース
JoinPoint.StaticPart
のtoShortString
toLongString
- 次で指定:
- インターフェース
JoinPoint
のtoLongString
- 次で指定:
- インターフェース
JoinPoint.StaticPart
のtoLongString
toString