インターフェースの使用
org.springframework.aop.aspectj.annotation.MetadataAwareAspectInstanceFactory
org.springframework.aop.aspectj.annotation 内の MetadataAwareAspectInstanceFactory 使用
修飾子と型クラス説明class
SpringBeanFactory
に裏付けされたAspectInstanceFactory
実装。class
MetadataAwareAspectInstanceFactory
を 1 回だけインスタンス化するデコレーター。class
AspectInstanceFactory
はBeanFactory
-provided プロトタイプに裏打ちされ、プロトタイプのセマンティクスを実施します。class
SimpleAspectInstanceFactory.getAspectInstance()
呼び出しごとに、指定されたアスペクトクラスの新しいインスタンスを作成するMetadataAwareAspectInstanceFactory
の実装。class
指定されたシングルトンオブジェクトによってサポートされているMetadataAwareAspectInstanceFactory
の実装で、SingletonAspectInstanceFactory.getAspectInstance()
呼び出しごとに同じインスタンスを返します。修飾子と型メソッド説明AspectJAdvisorFactory.getAdvice
(MethodSE candidateAdviceMethod, AspectJExpressionPointcut expressionPointcut, MetadataAwareAspectInstanceFactory aspectInstanceFactory, int declarationOrder, StringSE aspectName) 指定された AspectJ アドバイスメソッドの Spring AOP アドバイスを作成します。ReflectiveAspectJAdvisorFactory.getAdvice
(MethodSE candidateAdviceMethod, AspectJExpressionPointcut expressionPointcut, MetadataAwareAspectInstanceFactory aspectInstanceFactory, int declarationOrder, StringSE aspectName) AspectJAdvisorFactory.getAdvisor
(MethodSE candidateAdviceMethod, MetadataAwareAspectInstanceFactory aspectInstanceFactory, int declarationOrder, StringSE aspectName) 指定された AspectJ アドバイスメソッド用の Spring AOP アドバイザーを作成します。ReflectiveAspectJAdvisorFactory.getAdvisor
(MethodSE candidateAdviceMethod, MetadataAwareAspectInstanceFactory aspectInstanceFactory, int declarationOrderInAspect, StringSE aspectName) AspectJAdvisorFactory.getAdvisors
(MetadataAwareAspectInstanceFactory aspectInstanceFactory) 指定されたアスペクトインスタンスですべてのアノテーション付き At-AspectJ メソッドの Spring AOP アドバイザを構築します。ReflectiveAspectJAdvisorFactory.getAdvisors
(MetadataAwareAspectInstanceFactory aspectInstanceFactory) 修飾子コンストラクター説明指定された AspectInstanceFactory の新しい遅延初期化デコレータを作成します。