[weld-commits] Weld SVN: r4265 - api/trunk/cdi/src/main/java/javax/enterprise/inject.
weld-commits at lists.jboss.org
weld-commits at lists.jboss.org
Sat Oct 24 12:07:18 EDT 2009
Author: gavin.king at jboss.com
Date: 2009-10-24 12:07:18 -0400 (Sat, 24 Oct 2009)
New Revision: 4265
Modified:
api/trunk/cdi/src/main/java/javax/enterprise/inject/Nonbinding.java
Log:
javadoc for @Nonbinding
Modified: api/trunk/cdi/src/main/java/javax/enterprise/inject/Nonbinding.java
===================================================================
--- api/trunk/cdi/src/main/java/javax/enterprise/inject/Nonbinding.java 2009-10-24 15:46:55 UTC (rev 4264)
+++ api/trunk/cdi/src/main/java/javax/enterprise/inject/Nonbinding.java 2009-10-24 16:07:18 UTC (rev 4265)
@@ -24,9 +24,22 @@
import java.lang.annotation.Target;
/**
- * Specifies that a member of a binding type or interceptor binding type is to
- * be ignored for the purposes of resolution.
+ * <p>Excludes a member of a qualifier type or interceptor binding type
+ * from consideration by the resolution algorithms.</p>
*
+ * <pre>
+ * @Qualifier
+ * @Retention(RUNTIME)
+ * @Target({METHOD, FIELD, PARAMETER, TYPE})
+ * public @interface PayBy {
+ * PaymentMethod value();
+ * @Nonbinding String comment();
+ * }
+ * </pre>
+ *
+ * <p>Array-valued or annotation-valued members of a qualifier type should be
+ * annotated <tt>@Nonbinding</tt> in a portable application.</p>
+ *
* @author Gavin King
*
*/
More information about the weld-commits
mailing list