类 TypeFilterUtils
java.lang.Object
cn.taketoday.context.annotation.TypeFilterUtils
Collection of utilities for working with
@ComponentScan
type filters.- 从以下版本开始:
- 4.0
- 作者:
- Chris Beams, Juergen Hoeller, Sam Brannen
- 另请参阅:
-
ComponentScan.FilterTypeFilter
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static List<cn.taketoday.core.type.filter.TypeFilter>createTypeFiltersFor(cn.taketoday.core.annotation.MergedAnnotation<ComponentScan.Filter> filterAnnotation, BootstrapContext loadingContext) Create type filters from the suppliedAnnotationAttributes, such as those sourced fromComponentScan.includeFilters()orComponentScan.excludeFilters().
-
构造器详细资料
-
TypeFilterUtils
public TypeFilterUtils()
-
-
方法详细资料
-
createTypeFiltersFor
public static List<cn.taketoday.core.type.filter.TypeFilter> createTypeFiltersFor(cn.taketoday.core.annotation.MergedAnnotation<ComponentScan.Filter> filterAnnotation, BootstrapContext loadingContext) Create type filters from the suppliedAnnotationAttributes, such as those sourced fromComponentScan.includeFilters()orComponentScan.excludeFilters().Each
TypeFilterwill be instantiated using an appropriate constructor, withBeanClassLoaderAware,BeanFactoryAware,EnvironmentAware, andResourceLoaderAwarecontracts invoked if they are implemented by the type filter.- 参数:
filterAnnotation-AnnotationAttributesfor a@Filterdeclaration as aBeanFactoryif applicable- 返回:
- a list of instantiated and configured type filters
- 另请参阅:
-
TypeFilterAnnotationTypeFilterAssignableTypeFilterRegexPatternTypeFilterBeanClassLoaderAwareBeanFactoryAwareEnvironmentAwareResourceLoaderAware
-