From 7aec01bbac39a9f010160f83aadef9656fb97985 Mon Sep 17 00:00:00 2001 From: Costin Leau Date: Tue, 9 Feb 2010 12:23:12 +0000 Subject: [PATCH] SPR-5379 + added clarifications to section 3.4.5.2 Excluding a bean from autowiring --- spring-framework-reference/src/beans.xml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/spring-framework-reference/src/beans.xml b/spring-framework-reference/src/beans.xml index e9befff368..26c14443f1 100644 --- a/spring-framework-reference/src/beans.xml +++ b/spring-framework-reference/src/beans.xml @@ -2136,7 +2136,10 @@ support=support@example.co.uk Spring's XML format, set the autowire-candidate attribute of the <bean/> element to false; the container makes that specific bean - definition unavailable to the autowiring infrastructure. + definition unavailable to the autowiring infrastructure (including + annotation style configurations such as + @Autowired). + You can also limit autowire candidates based on pattern-matching against bean names. The top-level <beans/>