[weld-commits] Weld SVN: r5073 - doc/trunk/reference/en-US.
weld-commits at lists.jboss.org
weld-commits at lists.jboss.org
Sun Nov 15 21:07:52 EST 2009
Author: gavin.king at jboss.com
Date: 2009-11-15 21:07:52 -0500 (Sun, 15 Nov 2009)
New Revision: 5073
Modified:
doc/trunk/reference/en-US/injection.xml
Log:
explain
Modified: doc/trunk/reference/en-US/injection.xml
===================================================================
--- doc/trunk/reference/en-US/injection.xml 2009-11-16 02:04:01 UTC (rev 5072)
+++ doc/trunk/reference/en-US/injection.xml 2009-11-16 02:07:52 UTC (rev 5073)
@@ -268,7 +268,9 @@
<para>Whenever a bean or injection point does not explicitly declare a qualifier, the container assumes the
qualifier <literal>@Default</literal>. From time to time, you'll need to decare an injection point without
- specifying a qualifier. There's a qualifier for that too. All beans have the qualifier <literal>@Any</literal>.</para>
+ specifying a qualifier. There's a qualifier for that too. All beans have the qualifier <literal>@Any</literal>.
+ Therefore, by explicitly specifying <literal>@Any</literal> at an injection point, you suppress the default
+ qualifier, without otherwise restricting the beans that are eligible for injection.</para>
<tip>
<para>This is especially useful if you want to iterate over all beans with a certain bean type. For example:</para>
More information about the weld-commits
mailing list