Package | Description |
---|---|
org.springframework.context.annotation |
Annotation support for the Application Context, including JSR-250 "common"
annotations, component-scanning, and Java-based metadata for creating
Spring-managed objects.
|
org.springframework.core.type.filter |
Core support package for type filtering (e.g.
|
org.springframework.orm.hibernate5 |
Package providing integration of
Hibernate 5.x
with Spring concepts.
|
Modifier and Type | Method and Description |
---|---|
protected TypeFilter |
ComponentScanBeanDefinitionParser.createTypeFilter(Element element,
ClassLoader classLoader,
ParserContext parserContext) |
Modifier and Type | Method and Description |
---|---|
void |
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.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractClassTestingTypeFilter
Type filter that exposes a
ClassMetadata object
to subclasses, for class testing purposes. |
class |
AbstractTypeHierarchyTraversingFilter
Type filter that is aware of traversing over hierarchy.
|
class |
AnnotationTypeFilter
A simple
TypeFilter which matches classes with a given annotation,
checking inherited annotations as well. |
class |
AspectJTypeFilter
Type filter that uses AspectJ type pattern for matching.
|
class |
AssignableTypeFilter
A simple filter which matches classes that are assignable to a given type.
|
class |
RegexPatternTypeFilter
A simple filter for matching a fully-qualified class name with a regex
Pattern . |
Modifier and Type | Method and Description |
---|---|
void |
LocalSessionFactoryBean.setEntityTypeFilters(TypeFilter... entityTypeFilters)
Specify custom type filters for Spring-based scanning for entity classes.
|
LocalSessionFactoryBuilder |
LocalSessionFactoryBuilder.setEntityTypeFilters(TypeFilter... entityTypeFilters)
Specify custom type filters for Spring-based scanning for entity classes.
|