类的使用
org.springframework.beans.factory.annotation.Autowire
使用Autowire的程序包 程序包 说明 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中Autowire的使用
org.springframework.context.annotation中Autowire的使用
返回Autowire的org.springframework.context.annotation中的方法 修饰符和类型 方法 说明 Autowire
autowire()
已过时。as of 5.1, since@Bean
factory method argument resolution and@Autowired
processing supersede name/type-based bean property injection