クラス 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 を作成し、指定された Spring ProxyMethodInvocation オブジェクトをラップします。
  • 方法の概要

    修飾子と型
    メソッド
    説明
    int
    org.aspectj.lang.Signature
    org.aspectj.lang.reflect.SourceLocation
    org.aspectj.lang.JoinPoint.StaticPart
    Spring AOP ターゲットを返します。
    Spring AOP プロキシを返します。
    proceed(ObjectSE[] arguments)
    void
    set$AroundClosure(org.aspectj.runtime.internal.AroundClosure aroundClosure)

    クラス java.lang.ObjectSE から継承されたメソッド

    clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, wait, waitSE, waitSE

    インターフェース org.aspectj.lang.ProceedingJoinPoint から継承されたメソッド

    stack$AroundClosure
  • コンストラクターの詳細

    • MethodInvocationProceedingJoinPoint

      public MethodInvocationProceedingJoinPoint(ProxyMethodInvocation methodInvocation)
      新しい 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

      @Nullable public ObjectSE proceed() throws ThrowableSE
      次で指定:
      インターフェース org.aspectj.lang.ProceedingJoinPoint 内の proceed 
      例外:
      ThrowableSE
    • proceed

      @Nullable public ObjectSE proceed(ObjectSE[] arguments) throws ThrowableSE
      次で指定:
      インターフェース org.aspectj.lang.ProceedingJoinPoint 内の proceed 
      例外:
      ThrowableSE
    • getThis

      public ObjectSE getThis()
      Spring AOP プロキシを返します。null にすることはできません。
      次で指定:
      インターフェース org.aspectj.lang.JoinPoint 内の getThis 
    • getTarget

      @Nullable public ObjectSE getTarget()
      Spring AOP ターゲットを返します。ターゲットがない場合は、null になる場合があります。
      次で指定:
      インターフェース org.aspectj.lang.JoinPoint 内の getTarget 
    • getArgs

      public ObjectSE[] 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

      public StringSE 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

      public StringSE toShortString()
      次で指定:
      インターフェース org.aspectj.lang.JoinPoint 内の toShortString 
      次で指定:
      インターフェース org.aspectj.lang.JoinPoint.StaticPart 内の toShortString 
    • toLongString

      public StringSE toLongString()
      次で指定:
      インターフェース org.aspectj.lang.JoinPoint 内の toLongString 
      次で指定:
      インターフェース org.aspectj.lang.JoinPoint.StaticPart 内の toLongString 
    • toString

      public StringSE toString()
      次で指定:
      インターフェース org.aspectj.lang.JoinPoint 内の toString 
      次で指定:
      インターフェース org.aspectj.lang.JoinPoint.StaticPart 内の toString 
      オーバーライド:
      クラス ObjectSE の toString