[weld-commits] Weld SVN: r4241 - api/trunk/cdi/src/main/java/javax/enterprise/inject.

weld-commits at lists.jboss.org weld-commits at lists.jboss.org
Fri Oct 23 15:20:15 EDT 2009


Author: gavin.king at jboss.com
Date: 2009-10-23 15:20:15 -0400 (Fri, 23 Oct 2009)
New Revision: 4241

Modified:
   api/trunk/cdi/src/main/java/javax/enterprise/inject/Any.java
Log:
javadoc for @Any

Modified: api/trunk/cdi/src/main/java/javax/enterprise/inject/Any.java
===================================================================
--- api/trunk/cdi/src/main/java/javax/enterprise/inject/Any.java	2009-10-23 18:41:27 UTC (rev 4240)
+++ api/trunk/cdi/src/main/java/javax/enterprise/inject/Any.java	2009-10-23 19:20:15 UTC (rev 4241)
@@ -33,11 +33,31 @@
  * <p>The built-in qualifier type.</p>
  * 
  * <p>Every bean has the built-in qualifier 
- * {@link javax.enterprise.inject.Any &#064;Any}, even if 
- * it does not explicitly declare this qualifier, except 
- * for the special {@link javax.enterprise.inject.New &#064;New} 
+ * {@link javax.enterprise.inject.Any &#064;Any}, even if it 
+ * does not explicitly declare this qualifier, except for the 
+ * special {@link javax.enterprise.inject.New &#064;New} 
  * qualified beans.</p>
  * 
+ * <p>Every event has the qualifier 
+ * {@link javax.enterprise.inject.Any &#064;Any}, even if it 
+ * does not explicitly declare this qualifier.</p>
+ * 
+ * <p>The {@link javax.enterprise.inject.Any &#064;Any} 
+ * qualifier allows an injection point to refer to all
+ * beans or all events of a certain bean type.</p>
+ * 
+ * <pre>
+ * &#064;Inject &#064;Any Instance&lt;PaymentProcessor&gt; anyPaymentProcessor;
+ * </pre>
+ * 
+ * <pre>
+ * &#064;Inject &#064;Any Event&lt;User&gt; anyUserEvent;
+ * </pre>
+ * 
+ * <pre>
+ * &#064;Decorates &#064;Any Logger logger;
+ * </pre>
+ * 
  * @author Gavin King
  * @author David Allen
  */



More information about the weld-commits mailing list