程序包的使用
org.springframework.beans.factory.annotation
使用org.springframework.beans.factory.annotation的程序包 程序包 说明 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.test.context.junit4 Support classes for integrating the Spring TestContext Framework with JUnit 4.12 or higher.org.springframework.test.context.testng Support classes for integrating the Spring TestContext Framework with TestNG.org.springframework.web.reactive.config Spring WebFlux configuration infrastructure.org.springframework.web.servlet.config.annotation Annotation-based setup for Spring MVC.org.springframework.web.socket.config.annotation Support for annotation-based WebSocket setup in configuration classes.org.springframework.beans.factory.annotation使用的org.springframework.beans.factory.annotation中的类 类 说明 AnnotatedBeanDefinition ExtendedBeanDefinition
interface that exposesAnnotationMetadata
about its bean class - without requiring the class to be loaded yet.Autowire Enumeration determining autowiring status: that is, whether a bean should have its dependencies automatically injected by the Spring container using setter injection.Configurable Marks a class as being eligible for Spring-driven configuration.InjectionMetadata Internal class for managing injection metadata.InjectionMetadata.InjectedElement A single injected element.org.springframework.context.annotation使用的org.springframework.beans.factory.annotation中的类 类 说明 AnnotatedBeanDefinition ExtendedBeanDefinition
interface that exposesAnnotationMetadata
about its bean class - without requiring the class to be loaded yet.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.InitDestroyAnnotationBeanPostProcessor BeanPostProcessor
implementation that invokes annotated init and destroy methods.InjectionMetadata.InjectedElement A single injected element.QualifierAnnotationAutowireCandidateResolver AutowireCandidateResolver
implementation that matches bean definition qualifiers againstqualifier annotations
on the field or parameter to be autowired.org.springframework.test.context.junit4使用的org.springframework.beans.factory.annotation中的类 类 说明 Autowired Marks a constructor, field, setter method, or config method as to be autowired by Spring's dependency injection facilities.org.springframework.test.context.testng使用的org.springframework.beans.factory.annotation中的类 类 说明 Autowired Marks a constructor, field, setter method, or config method as to be autowired by Spring's dependency injection facilities.org.springframework.web.reactive.config使用的org.springframework.beans.factory.annotation中的类 类 说明 Autowired Marks a constructor, field, setter method, or config method as to be autowired by Spring's dependency injection facilities.Qualifier This annotation may be used on a field or parameter as a qualifier for candidate beans when autowiring.org.springframework.web.servlet.config.annotation使用的org.springframework.beans.factory.annotation中的类 类 说明 Autowired Marks a constructor, field, setter method, or config method as to be autowired by Spring's dependency injection facilities.Qualifier This annotation may be used on a field or parameter as a qualifier for candidate beans when autowiring.org.springframework.web.socket.config.annotation使用的org.springframework.beans.factory.annotation中的类 类 说明 Autowired Marks a constructor, field, setter method, or config method as to be autowired by Spring's dependency injection facilities.