Author: gavin.king(a)jboss.com
Date: 2009-11-09 03:14:52 -0500 (Mon, 09 Nov 2009)
New Revision: 4841
Modified:
doc/trunk/reference/en-US/injection.xml
Log:
annotation members are definitely not fields.
Modified: doc/trunk/reference/en-US/injection.xml
===================================================================
--- doc/trunk/reference/en-US/injection.xml 2009-11-09 08:12:43 UTC (rev 4840)
+++ doc/trunk/reference/en-US/injection.xml 2009-11-09 08:14:52 UTC (rev 4841)
@@ -278,10 +278,10 @@
<title>Qualifiers with members</title>
<para>
- Annotations can have members (i.e., fields) just like regular classes. You
can use these fields 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 under a single annotation using a member:
+ 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:
</para>
<programlisting role="JAVA"><![CDATA[@Qualifier
Show replies by date