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

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

Introduction

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

The text is from its open source code.

Subclass

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

Constructor

ClassPathScanningCandidateComponentProvider(boolean useDefaultFilters)
Create a ClassPathScanningCandidateComponentProvider with a StandardEnvironment .
ClassPathScanningCandidateComponentProvider(boolean useDefaultFilters, Environment environment)
Create a ClassPathScanningCandidateComponentProvider with the given Environment .

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.
voidclearCache()
Clear the local metadata cache, if any, removing all cached class metadata.
SetfindCandidateComponents(String basePackage)
Scan the class path for candidate components.
voidresetFilters(boolean useDefaultFilters)
Reset the configured type filters.
voidsetEnvironment(Environment environment)
Set the Environment to use when resolving placeholders and evaluating Conditional @Conditional -annotated component classes.
voidsetMetadataReaderFactory(MetadataReaderFactory metadataReaderFactory)
Set the MetadataReaderFactory to use.
voidsetResourceLoader(@Nullable ResourceLoader resourceLoader)
Set the ResourceLoader to use for resource locations.