[weld-commits] Weld SVN: r4842 - doc/trunk/reference/en-US.
weld-commits at lists.jboss.org
weld-commits at lists.jboss.org
Mon Nov 9 03:17:16 EST 2009
Author: gavin.king at jboss.com
Date: 2009-11-09 03:17:16 -0500 (Mon, 09 Nov 2009)
New Revision: 4842
Modified:
doc/trunk/reference/en-US/injection.xml
Log:
improve
Modified: doc/trunk/reference/en-US/injection.xml
===================================================================
--- doc/trunk/reference/en-US/injection.xml 2009-11-09 08:14:52 UTC (rev 4841)
+++ doc/trunk/reference/en-US/injection.xml 2009-11-09 08:17:16 UTC (rev 4842)
@@ -279,9 +279,9 @@
<para>
Annotations can have members just like regular classes. We can use members to further discriminate the
- qualifier. This prevents a potential explosion of new annotations. For instance, if you wanted to create
- several qualifiers representing different payment methods, you could aggregate them into a single annotation
- using a member:
+ qualifier. This prevents a potential explosion of new annotations. For example, instead of creating
+ several qualifiers representing different payment methods, we could aggregate them into a single annotation
+ with a member:
</para>
<programlisting role="JAVA"><![CDATA[@Qualifier
@@ -292,13 +292,13 @@
}]]></programlisting>
<para>
- Then you select one of the possible values when you apply the qualifier:
+ Then we select one of the possible member values when appling the qualifier:
</para>
<programlisting role="JAVA"><![CDATA[private @Inject @PayBy(CHECK) CheckPayment checkPayment;]]></programlisting>
<para>
- You can tell the container to ignore a member of a qualifier type by annotating the member <literal>@NonBinding</literal>.
+ We can force the container to ignore a member of a qualifier type by annotating the member <literal>@NonBinding</literal>.
</para>
<programlisting role="JAVA"><![CDATA[@Qualifier
More information about the weld-commits
mailing list