Top Description Fields Constructors Methods
org.springframework.context.annotation

pack-priv Class ComponentScanAnnotationParser

extends Object
Class Inheritance
Imports
java.util.Collections, .LinkedHashSet, .List, .Set, org.springframework.beans.BeanUtils, org.springframework.beans.factory.config.BeanDefinitionHolder, org.springframework.beans.factory.support.BeanDefinitionRegistry, .BeanNameGenerator, org.springframework.context.ConfigurableApplicationContext, org.springframework.core.annotation.AnnotationAttributes, org.springframework.core.env.Environment, org.springframework.core.io.ResourceLoader, org.springframework.core.type.filter.AbstractTypeHierarchyTraversingFilter, .TypeFilter, org.springframework.util.ClassUtils, .StringUtils

Parser for the @ComponentScan annotation.
Authors
Chris Beams, Juergen Hoeller, Sam Brannen
Since
3.1
See Also
ClassPathBeanDefinitionScanner#scan(String...), ComponentScanBeanDefinitionParser

Field Summary

Modifier and TypeField and Description
private final BeanNameGenerator
private final Environment
private final BeanDefinitionRegistry
private final ResourceLoader

Constructor Summary

AccessConstructor and Description
public
ComponentScanAnnotationParser(Environment environment, ResourceLoader resourceLoader, BeanNameGenerator beanNameGenerator, BeanDefinitionRegistry registry)

Method Summary

Modifier and TypeMethod and Description
public Set<BeanDefinitionHolder>
parse(AnnotationAttributes componentScan, String declaringClass)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

beanNameGeneratorback to summary
private final BeanNameGenerator beanNameGenerator
environmentback to summary
private final Environment environment
registryback to summary
private final BeanDefinitionRegistry registry
resourceLoaderback to summary
private final ResourceLoader resourceLoader

Constructor Detail

ComponentScanAnnotationParserback to summary
public ComponentScanAnnotationParser(Environment environment, ResourceLoader resourceLoader, BeanNameGenerator beanNameGenerator, BeanDefinitionRegistry registry)

Method Detail

parseback to summary
public Set<BeanDefinitionHolder> parse(AnnotationAttributes componentScan, String declaringClass)