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(ResourceLoader resourceLoader,
Environment environment,
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 ResourceLoader resourceLoader
private final Environment environment
private final BeanDefinitionRegistry registry
private final BeanNameGenerator beanNameGenerator
public ComponentScanAnnotationParser(ResourceLoader resourceLoader, Environment environment, BeanNameGenerator beanNameGenerator, BeanDefinitionRegistry registry)
public java.util.Set<BeanDefinitionHolder> parse(AnnotationAttributes componentScan, java.lang.String declaringClass)
private java.util.List<TypeFilter> typeFiltersFor(AnnotationAttributes filterAttributes)