クラス 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
  • コンストラクターの詳細

    • 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

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

      public @Nullable 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

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

      public @Nullable 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 
      オーバーライド:
      クラス ObjectSEtoString