class ComponentScanAnnotationParser
extends java.lang.Object
ComponentScan
annotation.ClassPathBeanDefinitionScanner.scan(String...)
,
ComponentScanBeanDefinitionParser
Modifier and Type | Field and Description |
---|---|
private BeanNameGenerator |
beanNameGenerator |
private Environment |
environment |
private BeanDefinitionRegistry |
registry |
private ResourceLoader |
resourceLoader |
Constructor and Description |
---|
ComponentScanAnnotationParser(Environment environment,
ResourceLoader resourceLoader,
BeanNameGenerator beanNameGenerator,
BeanDefinitionRegistry registry) |
Modifier and Type | Method and Description |
---|---|
java.util.Set<BeanDefinitionHolder> |
parse(AnnotationAttributes componentScan,
java.lang.String declaringClass) |
private java.util.List<TypeFilter> |
typeFiltersFor(AnnotationAttributes filterAttributes) |
private final Environment environment
private final ResourceLoader resourceLoader
private final BeanNameGenerator beanNameGenerator
private final BeanDefinitionRegistry registry
public ComponentScanAnnotationParser(Environment environment, ResourceLoader resourceLoader, BeanNameGenerator beanNameGenerator, BeanDefinitionRegistry registry)
public java.util.Set<BeanDefinitionHolder> parse(AnnotationAttributes componentScan, java.lang.String declaringClass)
private java.util.List<TypeFilter> typeFiltersFor(AnnotationAttributes filterAttributes)