[weld-commits] Weld SVN: r4525 - api/trunk/cdi/src/main/java/javax/enterprise/inject.
weld-commits at lists.jboss.org
weld-commits at lists.jboss.org
Sun Nov 1 17:17:29 EST 2009
Author: gavin.king at jboss.com
Date: 2009-11-01 17:17:29 -0500 (Sun, 01 Nov 2009)
New Revision: 4525
Modified:
api/trunk/cdi/src/main/java/javax/enterprise/inject/Alternative.java
Log:
sync with spec
Modified: api/trunk/cdi/src/main/java/javax/enterprise/inject/Alternative.java
===================================================================
--- api/trunk/cdi/src/main/java/javax/enterprise/inject/Alternative.java 2009-11-01 19:04:09 UTC (rev 4524)
+++ api/trunk/cdi/src/main/java/javax/enterprise/inject/Alternative.java 2009-11-01 22:17:29 UTC (rev 4525)
@@ -36,16 +36,14 @@
* public class MockOrder extends Order { ... }
* </pre>
*
- * <p>An alternative is never available for injection,
- * lookup or EL resolution in a module that is not a bean
- * deployment archive.</p>
+ * <p>An alternative is not available for injection, lookup
+ * or EL resolution to classes or JSP/JSF pages in a module
+ * unless the module is a bean deployment archive and the
+ * alternative is explicitly <em>selected</em> in that bean
+ * deployment archive. An alternative is never available for
+ * injection, lookup or EL resolution in a module that is not
+ * a bean deployment archive.</p>
*
- * <p>Nor is an alternative available for injection, lookup
- * or EL resolution in every bean deployment archive. An
- * alternative must be explicitly <em>selected</em> in every
- * bean deployment archive in which the alternative should
- * be available for injection, lookup and EL resolution.</p>
- *
* <p>By default, a bean deployment archive has no selected
* alternatives. An alternative must be explicitly declared
* using the <tt><alternatives></tt> element of the
More information about the weld-commits
mailing list