程序包 org.springframework.beans.factory.annotation
Support package for annotation-driven bean configuration.
接口概要 接口 说明 AnnotatedBeanDefinition ExtendedBeanDefinitioninterface that exposesAnnotationMetadataabout its bean class - without requiring the class to be loaded yet.类概要 类 说明 AnnotatedGenericBeanDefinition Extension of theGenericBeanDefinitionclass, adding support for annotation metadata exposed through theAnnotatedBeanDefinitioninterface.AnnotationBeanWiringInfoResolver BeanWiringInfoResolverthat uses the Configurable annotation to identify which classes need autowiring.AutowiredAnnotationBeanPostProcessor BeanPostProcessorimplementation that autowires annotated fields, setter methods and arbitrary config methods.BeanFactoryAnnotationUtils Convenience methods performing bean lookups related to annotations, for example Spring's@Qualifierannotation.CustomAutowireConfigurer ABeanFactoryPostProcessorimplementation that allows for convenient registration of custom autowire qualifier types.InitDestroyAnnotationBeanPostProcessor BeanPostProcessorimplementation that invokes annotated init and destroy methods.InjectionMetadata Internal class for managing injection metadata.InjectionMetadata.InjectedElement A single injected element.QualifierAnnotationAutowireCandidateResolver AutowireCandidateResolverimplementation that matches bean definition qualifiers againstqualifier annotationson the field or parameter to be autowired.RequiredAnnotationBeanPostProcessor BeanPostProcessorimplementation that enforces required JavaBean properties to have been configured.枚举概要 枚举 说明 Autowire Enumeration determining autowiring status: that is, whether a bean should have its dependencies automatically injected by the Spring container using setter injection.注释类型概要 注释类型 说明 Autowired Marks a constructor, field, setter method, or config method as to be autowired by Spring's dependency injection facilities.Configurable Marks a class as being eligible for Spring-driven configuration.Lookup An annotation that indicates 'lookup' methods, to be overridden by the container to redirect them back to theBeanFactoryfor agetBeancall.Qualifier This annotation may be used on a field or parameter as a qualifier for candidate beans when autowiring.Required Marks a method (typically a JavaBean setter method) as being 'required': that is, the setter method must be configured to be dependency-injected with a value.Value Annotation at the field or method/constructor parameter level that indicates a default value expression for the affected argument.