org.springframework.context.annotation
Class ComponentScanAnnotationParser

java.lang.Object
  extended by org.springframework.context.annotation.ComponentScanAnnotationParser

 class ComponentScanAnnotationParser
extends java.lang.Object

Parser for the @ComponentScan annotation.

Since:
3.1
Author:
Chris Beams
See Also:
ClassPathBeanDefinitionScanner.scan(String...), ComponentScanBeanDefinitionParser

Field Summary
private  Environment environment
           
private  BeanDefinitionRegistry registry
           
private  ResourceLoader resourceLoader
           
 
Constructor Summary
ComponentScanAnnotationParser(ResourceLoader resourceLoader, Environment environment, BeanDefinitionRegistry registry)
           
 
Method Summary
private  TypeFilter createTypeFilter(ComponentScan.Filter filter)
           
 java.util.Set<BeanDefinitionHolder> parse(java.util.Map<java.lang.String,java.lang.Object> componentScanAttributes)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

resourceLoader

private final ResourceLoader resourceLoader

environment

private final Environment environment

registry

private final BeanDefinitionRegistry registry
Constructor Detail

ComponentScanAnnotationParser

public ComponentScanAnnotationParser(ResourceLoader resourceLoader,
                                     Environment environment,
                                     BeanDefinitionRegistry registry)
Method Detail

parse

public java.util.Set<BeanDefinitionHolder> parse(java.util.Map<java.lang.String,java.lang.Object> componentScanAttributes)

createTypeFilter

private TypeFilter createTypeFilter(ComponentScan.Filter filter)