Uses of Interface
org.springframework.core.type.filter.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
Modifier and TypeMethodDescriptionprotected TypeFilter
ComponentScanBeanDefinitionParser.createTypeFilter
(Element element, ClassLoader classLoader, ParserContext parserContext) Modifier 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()
.Modifier 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
Modifier 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
Modifier 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.