接口的使用
org.springframework.beans.factory.annotation.AnnotatedBeanDefinition
使用AnnotatedBeanDefinition的程序包 程序包 说明 org.springframework.beans.factory.annotation Support package for annotation-driven bean configuration.org.springframework.context.annotation Annotation support for the Application Context, including JSR-250 "common" annotations, component-scanning, and Java-based metadata for creating Spring-managed objects.org.springframework.beans.factory.annotation中AnnotatedBeanDefinition的使用
实现AnnotatedBeanDefinition的org.springframework.beans.factory.annotation中的类 修饰符和类型 类 说明 classAnnotatedGenericBeanDefinitionExtension of theGenericBeanDefinitionclass, adding support for annotation metadata exposed through theAnnotatedBeanDefinitioninterface.org.springframework.context.annotation中AnnotatedBeanDefinition的使用
实现AnnotatedBeanDefinition的org.springframework.context.annotation中的类 修饰符和类型 类 说明 classScannedGenericBeanDefinitionExtension of theGenericBeanDefinitionclass, based on an ASM ClassReader, with support for annotation metadata exposed through theAnnotatedBeanDefinitioninterface.参数类型为AnnotatedBeanDefinition的org.springframework.context.annotation中的方法 修饰符和类型 方法 说明 protected StringAnnotationBeanNameGenerator. determineBeanNameFromAnnotation(AnnotatedBeanDefinition annotatedDef)Derive a bean name from one of the annotations on the class.protected booleanClassPathScanningCandidateComponentProvider. isCandidateComponent(AnnotatedBeanDefinition beanDefinition)Determine whether the given bean definition qualifies as candidate.static voidAnnotationConfigUtils. processCommonDefinitionAnnotations(AnnotatedBeanDefinition abd)