程序包 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 Spring-specific 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.ParameterResolutionDelegate Public delegate for resolving autowirable parameters on externally managed constructors and methods.QualifierAnnotationAutowireCandidateResolver AutowireCandidateResolverimplementation that matches bean definition qualifiers againstqualifier annotationson the field or parameter to be autowired.RequiredAnnotationBeanPostProcessor 已过时。 as of 5.1, in favor of using constructor injection for required settings (or a customInitializingBeanimplementation)枚举概要 枚举 说明 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 已过时。 as of 5.1, in favor of using constructor injection for required settings (or a customInitializingBeanimplementation)Value Annotation used at the field or method/constructor parameter level that indicates a default value expression for the annotated element.