public abstract class TypeFilterUtils extends ObjectSE
@ComponentScan
型のフィルターを操作するためのユーティリティのコレクション。ComponentScan.Filter
, TypeFilter
コンストラクターと説明 |
---|
TypeFilterUtils() |
修飾子と型 | メソッドと説明 |
---|---|
static ListSE<TypeFilter> | createTypeFiltersFor(AnnotationAttributes filterAttributes, Environment environment, ResourceLoader resourceLoader, BeanDefinitionRegistry registry) ComponentScan.includeFilters() または ComponentScan.excludeFilters() から供給されたものなど、提供された AnnotationAttributes から型フィルターを作成します。 |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
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
としてフィルターで使用できるようにします TypeFilter
, AnnotationTypeFilter
, AssignableTypeFilter
, AspectJTypeFilter
, RegexPatternTypeFilter
, BeanClassLoaderAware
, BeanFactoryAware
, EnvironmentAware
, ResourceLoaderAware