Uses of Interface
org.springframework.core.type.filter.TypeFilter
Packages that use TypeFilter
Package
Description
Annotation support for the Application Context, including JSR-250 "common"
annotations, component-scanning, and Java-based metadata for creating
Spring-managed objects.
Core support package for type filtering (e.g.
Package providing integration of
Hibernate 5.x
with Spring concepts.
-
Uses of TypeFilter in org.springframework.context.annotation
Methods in org.springframework.context.annotation that return TypeFilterModifier and TypeMethodDescriptionprotected TypeFilter
ComponentScanBeanDefinitionParser.createTypeFilter
(Element element, ClassLoader classLoader, ParserContext parserContext) Methods in org.springframework.context.annotation that return types with arguments of type TypeFilterModifier and TypeMethodDescriptionstatic List<TypeFilter>
TypeFilterUtils.createTypeFiltersFor
(AnnotationAttributes filterAttributes, Environment environment, ResourceLoader resourceLoader, BeanDefinitionRegistry registry) Create type filters from the suppliedAnnotationAttributes
, such as those sourced fromComponentScan.includeFilters()
orComponentScan.excludeFilters()
.Methods in org.springframework.context.annotation with parameters of type TypeFilterModifier and TypeMethodDescriptionvoid
ClassPathScanningCandidateComponentProvider.addExcludeFilter
(TypeFilter excludeFilter) Add an exclude type filter to the front of the exclusion list.void
ClassPathScanningCandidateComponentProvider.addIncludeFilter
(TypeFilter includeFilter) Add an include type filter to the end of the inclusion list. -
Uses of TypeFilter in org.springframework.core.type.filter
Classes in org.springframework.core.type.filter that implement TypeFilterModifier and TypeClassDescriptionclass
Type filter that exposes aClassMetadata
object to subclasses, for class testing purposes.class
Type filter that is aware of traversing over hierarchy.class
A simpleTypeFilter
which matches classes with a given annotation, checking inherited annotations as well.class
Type filter that uses AspectJ type pattern for matching.class
A simple filter which matches classes that are assignable to a given type.class
A simple filter for matching a fully-qualified class name with a regexPattern
. -
Uses of TypeFilter in org.springframework.orm.hibernate5
Methods in org.springframework.orm.hibernate5 with parameters of type TypeFilterModifier and TypeMethodDescriptionvoid
LocalSessionFactoryBean.setEntityTypeFilters
(TypeFilter... entityTypeFilters) Specify custom type filters for Spring-based scanning for entity classes.LocalSessionFactoryBuilder.setEntityTypeFilters
(TypeFilter... entityTypeFilters) Specify custom type filters for Spring-based scanning for entity classes.