Skip to content

Commit 7aec01b

Browse files
author
Costin Leau
committed
SPR-5379
+ added clarifications to section 3.4.5.2 Excluding a bean from autowiring
1 parent a9386f5 commit 7aec01b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

spring-framework-reference/src/beans.xml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2136,7 +2136,10 @@ [email protected]</programlisting>
21362136
Spring's XML format, set the <literal>autowire-candidate</literal>
21372137
attribute of the <literal>&lt;bean/&gt;</literal> element to
21382138
<literal>false</literal>; the container makes that specific bean
2139-
definition unavailable to the autowiring infrastructure.</para>
2139+
definition unavailable to the autowiring infrastructure (including
2140+
annotation style configurations such as
2141+
<link linkend="beans-autowired-annotation"><interfacename>@Autowired</interfacename></link>).
2142+
</para>
21402143

21412144
<para>You can also limit autowire candidates based on pattern-matching
21422145
against bean names. The top-level <literal>&lt;beans/&gt;</literal>

0 commit comments

Comments
 (0)