public class CdmTypeScanner<T>
extends org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider
Constructor and Description |
---|
CdmTypeScanner(boolean considerAbstract,
boolean considerInterfaces) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
isCandidateComponent(org.springframework.beans.factory.annotation.AnnotatedBeanDefinition beanDefinition)
Determine whether the given bean definition qualifies as candidate.
|
java.util.Collection<java.lang.Class<? extends T>> |
scanTypesIn(java.lang.String basePackage) |
addExcludeFilter, addIncludeFilter, clearCache, findCandidateComponents, getEnvironment, getMetadataReaderFactory, getRegistry, getResourceLoader, isCandidateComponent, registerDefaultFilters, resetFilters, resolveBasePackage, setEnvironment, setMetadataReaderFactory, setResourceLoader, setResourcePattern
public CdmTypeScanner(boolean considerAbstract, boolean considerInterfaces)
public final java.util.Collection<java.lang.Class<? extends T>> scanTypesIn(java.lang.String basePackage)
protected boolean isCandidateComponent(org.springframework.beans.factory.annotation.AnnotatedBeanDefinition beanDefinition)
The special implementation checks whether the class is concrete or abstract or an interface. The latter two conditions depend on the state of the two boolean fields includeAnstract, includeInterface.
isCandidateComponent
in class org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider
beanDefinition
- the bean definition to checkCopyright © 2007-2020 EDIT. All Rights Reserved.