类 ScannedGenericBeanDefinition

所有已实现的接口:
BeanMetadataElement, AnnotatedBeanDefinition, BeanDefinition, cn.taketoday.core.AttributeAccessor, Serializable, Cloneable

public class ScannedGenericBeanDefinition extends GenericBeanDefinition implements AnnotatedBeanDefinition
Extension of the BeanDefinition class, based on an ASM ClassReader, with support for annotation metadata exposed through the AnnotatedBeanDefinition interface.

This class does not load the bean Class early. It rather retrieves all relevant metadata from the ".class" file itself, parsed with the ASM ClassReader. It is functionally equivalent to AnnotatedGenericBeanDefinition(AnnotationMetadata) but distinguishes by type beans that have been scanned vs those that have been otherwise registered or detected by other means.

从以下版本开始:
4.0
作者:
Juergen Hoeller, Chris Beams
另请参阅:
  • 构造器详细资料

    • ScannedGenericBeanDefinition

      public ScannedGenericBeanDefinition(cn.taketoday.core.type.classreading.MetadataReader metadataReader)
      Create a new ScannedGenericBeanDefinition for the class that the given MetadataReader describes.
      参数:
      metadataReader - the MetadataReader for the scanned target class
  • 方法详细资料