org.springframework.config.java.parsing
Class ConfigurationClassScanningBeanDefinitionReader

java.lang.Object
  extended by org.springframework.beans.factory.support.AbstractBeanDefinitionReader
      extended by org.springframework.config.java.parsing.AbstractClassScanningBeanDefinitionReader
          extended by org.springframework.config.java.parsing.AbstractAsmClassScanningBeanDefinitionReader
              extended by org.springframework.config.java.parsing.ConfigurationClassScanningBeanDefinitionReader
All Implemented Interfaces:
org.springframework.beans.factory.support.BeanDefinitionReader

public class ConfigurationClassScanningBeanDefinitionReader
extends AbstractAsmClassScanningBeanDefinitionReader

ASM based annotation bean definition reader. This implementation will read the bytecode directly to find more information about each class read. ASM will be used as much as possible in order to avoid unnecessary class loading.

Author:
Costin Leau, Rod Johnson

Nested Class Summary
 
Nested classes/interfaces inherited from class org.springframework.config.java.parsing.AbstractAsmClassScanningBeanDefinitionReader
AbstractAsmClassScanningBeanDefinitionReader.InnerClasses
 
Field Summary
 
Fields inherited from class org.springframework.config.java.parsing.AbstractClassScanningBeanDefinitionReader
log
 
Fields inherited from class org.springframework.beans.factory.support.AbstractBeanDefinitionReader
logger
 
Constructor Summary
ConfigurationClassScanningBeanDefinitionReader(org.springframework.beans.factory.support.BeanDefinitionRegistry beanFactory)
           
 
Method Summary
protected  void processComponentOrFactoryClass(java.lang.Class clazz)
          A component class or component factory class has been found.
 
Methods inherited from class org.springframework.config.java.parsing.AbstractAsmClassScanningBeanDefinitionReader
addTypeFilter, isComponentOrFactoryClass, searchClass
 
Methods inherited from class org.springframework.config.java.parsing.AbstractClassScanningBeanDefinitionReader
isFQN, loadBeanDefinitions, loadClass, searchClass
 
Methods inherited from class org.springframework.beans.factory.support.AbstractBeanDefinitionReader
getBeanClassLoader, getBeanFactory, getBeanNameGenerator, getResourceLoader, loadBeanDefinitions, loadBeanDefinitions, loadBeanDefinitions, setBeanClassLoader, setBeanNameGenerator, setResourceLoader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigurationClassScanningBeanDefinitionReader

public ConfigurationClassScanningBeanDefinitionReader(org.springframework.beans.factory.support.BeanDefinitionRegistry beanFactory)
Method Detail

processComponentOrFactoryClass

protected void processComponentOrFactoryClass(java.lang.Class clazz)
Description copied from class: AbstractClassScanningBeanDefinitionReader
A component class or component factory class has been found. Process it, presumably by creating a bean definition

Specified by:
processComponentOrFactoryClass in class AbstractClassScanningBeanDefinitionReader
Parameters:
clazz - component class or component factory class


Copyright © 2005-2007 Spring Framework. All Rights Reserved.