Java org.springframework.context.annotation ClassPathBeanDefinitionScanner fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.context.annotation ClassPathBeanDefinitionScanner fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.context.annotation ClassPathBeanDefinitionScanner.

The text is from its open source code.

Subclass

org.springframework.context.annotation.ClassPathBeanDefinitionScanner has subclasses.
Click this link to see all its subclasses.

Constructor

ClassPathBeanDefinitionScanner(BeanDefinitionRegistry registry)
Create a new ClassPathBeanDefinitionScanner for the given bean factory.
ClassPathBeanDefinitionScanner(BeanDefinitionRegistry registry, boolean useDefaultFilters)
Create a new ClassPathBeanDefinitionScanner for the given bean factory.

Method

voidaddExcludeFilter(TypeFilter excludeFilter)
Add an exclude type filter to the front of the exclusion list.
voidaddIncludeFilter(TypeFilter includeFilter)
Add an include type filter to the end of the inclusion list.
SetfindCandidateComponents(String basePackage)
Scan the class path for candidate components.
ResourceLoadergetResourceLoader()
Return the ResourceLoader that this component provider uses.
voidresetFilters(boolean useDefaultFilters)
Reset the configured type filters.
intscan(String... basePackages)
Perform a scan within the specified base packages.
voidsetAutowireCandidatePatterns(@Nullable String... autowireCandidatePatterns)
Set the name-matching patterns for determining autowire candidates.
voidsetBeanDefinitionDefaults(@Nullable BeanDefinitionDefaults beanDefinitionDefaults)
Set the defaults to use for detected beans.
voidsetBeanNameGenerator(@Nullable BeanNameGenerator beanNameGenerator)
Set the BeanNameGenerator to use for detected bean classes.
voidsetEnvironment(Environment environment)
Set the Environment to use when resolving placeholders and evaluating Conditional @Conditional -annotated component classes.
voidsetResourceLoader(@Nullable ResourceLoader resourceLoader)
Set the ResourceLoader to use for resource locations.
voidsetScopeMetadataResolver(@Nullable ScopeMetadataResolver scopeMetadataResolver)
Set the ScopeMetadataResolver to use for detected bean classes.