クラス TypeFilterUtils
java.lang.ObjectSE
org.springframework.context.annotation.TypeFilterUtils
@ComponentScan
型のフィルターを操作するためのユーティリティのコレクション。- 導入:
- 5.3.13
- 作成者:
- Chris Beams, Juergen Hoeller, Sam Brannen
- 関連事項:
コンストラクターのサマリー
メソッドのサマリー
修飾子と型メソッド説明static ListSE<TypeFilter>
createTypeFiltersFor
(AnnotationAttributes filterAttributes, Environment environment, ResourceLoader resourceLoader, BeanDefinitionRegistry registry) ComponentScan.includeFilters()
またはComponentScan.excludeFilters()
から供給されたものなど、提供されたAnnotationAttributes
から型フィルターを作成します。
コンストラクターの詳細
TypeFilterUtils
public TypeFilterUtils()
メソッドの詳細
createTypeFiltersFor
public static ListSE<TypeFilter> createTypeFiltersFor(AnnotationAttributes filterAttributes, Environment environment, ResourceLoader resourceLoader, BeanDefinitionRegistry registry) ComponentScan.includeFilters()
またはComponentScan.excludeFilters()
から供給されたものなど、提供されたAnnotationAttributes
から型フィルターを作成します。各
TypeFilter
は、適切なコンストラクターを使用してインスタンス化され、型フィルターによって実装されている場合はBeanClassLoaderAware
、BeanFactoryAware
、EnvironmentAware
、ResourceLoaderAware
契約が呼び出されます。- パラメーター:
filterAttributes
-@Filter
宣言の場合はAnnotationAttributes
environment
- フィルターで利用できるようにするEnvironment
resourceLoader
- フィルターで利用できるようにするResourceLoader
registry
-BeanDefinitionRegistry
は、該当する場合はBeanFactory
としてフィルターで使用できるようにします- 戻り値:
- インスタンス化および構成された型フィルターのリスト
- 関連事項: