接口的使用
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中的类 修饰符和类型 类 说明 class
AnnotatedGenericBeanDefinition
Extension of theGenericBeanDefinition
class, adding support for annotation metadata exposed through theAnnotatedBeanDefinition
interface.org.springframework.context.annotation中AnnotatedBeanDefinition的使用
实现AnnotatedBeanDefinition的org.springframework.context.annotation中的类 修饰符和类型 类 说明 class
ScannedGenericBeanDefinition
Extension of theGenericBeanDefinition
class, based on an ASM ClassReader, with support for annotation metadata exposed through theAnnotatedBeanDefinition
interface.参数类型为AnnotatedBeanDefinition的org.springframework.context.annotation中的方法 修饰符和类型 方法 说明 protected String
AnnotationBeanNameGenerator. determineBeanNameFromAnnotation(AnnotatedBeanDefinition annotatedDef)
Derive a bean name from one of the annotations on the class.protected boolean
ClassPathScanningCandidateComponentProvider. isCandidateComponent(AnnotatedBeanDefinition beanDefinition)
Determine whether the given bean definition qualifies as candidate.static void
AnnotationConfigUtils. processCommonDefinitionAnnotations(AnnotatedBeanDefinition abd)