クラス BeanFactoryAdvisorRetrievalHelper

java.lang.ObjectSE
org.springframework.aop.framework.autoproxy.BeanFactoryAdvisorRetrievalHelper

public class BeanFactoryAdvisorRetrievalHelper extends ObjectSE
自動プロキシで使用するために、BeanFactory から標準 Spring アドバイザを取得するためのヘルパー。
導入:
2.0.2
作成者:
Juergen Hoeller
関連事項:
  • コンストラクターの詳細

    • BeanFactoryAdvisorRetrievalHelper

      public BeanFactoryAdvisorRetrievalHelper(ConfigurableListableBeanFactory beanFactory)
      指定された BeanFactory の新しい BeanFactoryAdvisorRetrievalHelper を作成します。
      パラメーター:
      beanFactory - スキャンする ListableBeanFactory
  • メソッドの詳細

    • findAdvisorBeans

      public ListSE<Advisor> findAdvisorBeans()
      FactoryBeans を無視して、現在作成中の Bean を除外して、現在の Bean ファクトリ内のすべての適格な Advisor Bean を見つけます。
      戻り値:
      Advisor Bean のリスト
      関連事項:
    • isEligibleBean

      protected boolean isEligibleBean(StringSE beanName)
      指定された名前のアスペクト Bean が適格かどうかを判別します。

      デフォルトの実装は、常に true を返します。

      パラメーター:
      beanName - アスペクト Bean の名前
      戻り値:
      Bean が適格かどうか