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 42bf007 commit 98eaf05Copy full SHA for 98eaf05
spring-context/src/main/java/org/springframework/context/annotation/Bean.java
@@ -198,6 +198,13 @@
198
199
/**
200
* Are dependencies to be injected via convention-based autowiring by name or type?
201
+ * <p>Note that this autowire mode is just about externally driven autowiring based
202
+ * on bean property setter methods by convention, analogous to XML bean definitions.
203
+ * <p>The default mode does allow for annotation-driven autowiring. "no" refers to
204
+ * externally driven autowiring only, not affecting any autowiring demands that the
205
+ * bean class itself expresses through annotations.
206
+ * @see Autowire#BY_NAME
207
+ * @see Autowire#BY_TYPE
208
*/
209
Autowire autowire() default Autowire.NO;
210
0 commit comments