We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69e8bcd commit c8869d9Copy full SHA for c8869d9
spring-context/src/main/java/org/springframework/context/annotation/Bean.java
@@ -248,7 +248,10 @@
248
* bean class itself expresses through annotations.
249
* @see Autowire#BY_NAME
250
* @see Autowire#BY_TYPE
251
+ * @deprecated as of 5.1, since {@code @Bean} factory method argument resolution and
252
+ * {@code @Autowired} processing supersede name/type-based bean property injection
253
*/
254
+ @Deprecated
255
Autowire autowire() default Autowire.NO;
256
257
/**
0 commit comments