クラス MethodInvocationProceedingJoinPoint
java.lang.ObjectSE
org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint
- 実装されているすべてのインターフェース:
org.aspectj.lang.JoinPoint、org.aspectj.lang.JoinPoint.StaticPart、org.aspectj.lang.ProceedingJoinPoint
public class MethodInvocationProceedingJoinPoint
extends ObjectSE
implements org.aspectj.lang.ProceedingJoinPoint, org.aspectj.lang.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 から継承されたネストクラス / インターフェース
org.aspectj.lang.JoinPoint.EnclosingStaticPart, org.aspectj.lang.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()intgetId()getKind()org.aspectj.lang.Signatureorg.aspectj.lang.reflect.SourceLocationorg.aspectj.lang.JoinPoint.StaticPartSpring AOP ターゲットを返します。getThis()Spring AOP プロキシを返します。proceed()voidset$AroundClosure(org.aspectj.runtime.internal.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
public void set$AroundClosure(org.aspectj.runtime.internal.AroundClosure aroundClosure) - 次で指定:
- インターフェース
org.aspectj.lang.ProceedingJoinPointのset$AroundClosure
proceed
- 次で指定:
- インターフェース
org.aspectj.lang.ProceedingJoinPointのproceed - 例外:
ThrowableSE
proceed
- 次で指定:
- インターフェース
org.aspectj.lang.ProceedingJoinPointのproceed - 例外:
ThrowableSE
getThis
Spring AOP プロキシを返します。nullにすることはできません。- 次で指定:
- インターフェース
org.aspectj.lang.JoinPointのgetThis
getTarget
Spring AOP ターゲットを返します。ターゲットがない場合は、nullになる場合があります。- 次で指定:
- インターフェース
org.aspectj.lang.JoinPointのgetTarget
getArgs
- 次で指定:
- インターフェース
org.aspectj.lang.JoinPointのgetArgs
getSignature
public org.aspectj.lang.Signature getSignature()- 次で指定:
- インターフェース
org.aspectj.lang.JoinPointのgetSignature - 次で指定:
- インターフェース
org.aspectj.lang.JoinPoint.StaticPartのgetSignature
getSourceLocation
public org.aspectj.lang.reflect.SourceLocation getSourceLocation()- 次で指定:
- インターフェース
org.aspectj.lang.JoinPointのgetSourceLocation - 次で指定:
- インターフェース
org.aspectj.lang.JoinPoint.StaticPartのgetSourceLocation
getKind
- 次で指定:
- インターフェース
org.aspectj.lang.JoinPointのgetKind - 次で指定:
- インターフェース
org.aspectj.lang.JoinPoint.StaticPartのgetKind
getId
public int getId()- 次で指定:
- インターフェース
org.aspectj.lang.JoinPoint.StaticPartのgetId
getStaticPart
public org.aspectj.lang.JoinPoint.StaticPart getStaticPart()- 次で指定:
- インターフェース
org.aspectj.lang.JoinPointのgetStaticPart
toShortString
- 次で指定:
- インターフェース
org.aspectj.lang.JoinPointのtoShortString - 次で指定:
- インターフェース
org.aspectj.lang.JoinPoint.StaticPartのtoShortString
toLongString
- 次で指定:
- インターフェース
org.aspectj.lang.JoinPointのtoLongString - 次で指定:
- インターフェース
org.aspectj.lang.JoinPoint.StaticPartのtoLongString
toString