クラス MethodInvocationProceedingJoinPoint

java.lang.ObjectSE
org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint
実装されたすべてのインターフェース:
org.aspectj.lang.JoinPointorg.aspectj.lang.JoinPoint.StaticPartorg.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
  • コンストラクターの詳細

    • 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.ProceedingJoinPointset$AroundClosure 
    • proceed

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

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

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

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

      public ObjectSE[] getArgs()
      次で指定:
      インターフェース org.aspectj.lang.JoinPointgetArgs 
    • getSignature

      public org.aspectj.lang.Signature getSignature()
      次で指定:
      インターフェース org.aspectj.lang.JoinPointgetSignature 
      次で指定:
      インターフェース org.aspectj.lang.JoinPoint.StaticPartgetSignature 
    • getSourceLocation

      public SourceLocation getSourceLocation()
      次で指定:
      インターフェース org.aspectj.lang.JoinPointgetSourceLocation 
      次で指定:
      インターフェース org.aspectj.lang.JoinPoint.StaticPartgetSourceLocation 
    • getKind

      public StringSE getKind()
      次で指定:
      インターフェース org.aspectj.lang.JoinPointgetKind 
      次で指定:
      インターフェース org.aspectj.lang.JoinPoint.StaticPartgetKind 
    • getId

      public int getId()
      次で指定:
      インターフェース org.aspectj.lang.JoinPoint.StaticPartgetId 
    • getStaticPart

      public org.aspectj.lang.JoinPoint.StaticPart getStaticPart()
      次で指定:
      インターフェース org.aspectj.lang.JoinPointgetStaticPart 
    • toShortString

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

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

      public StringSE toString()
      次で指定:
      インターフェース org.aspectj.lang.JoinPointtoString 
      次で指定:
      インターフェース org.aspectj.lang.JoinPoint.StaticParttoString 
      オーバーライド:
      クラス ObjectSEtoString