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

weld-commits at lists.jboss.org weld-commits at lists.jboss.org
Thu Nov 5 17:34:08 EST 2009


Author: gavin.king at jboss.com
Date: 2009-11-05 17:34:08 -0500 (Thu, 05 Nov 2009)
New Revision: 4706

Modified:
   api/trunk/cdi/src/main/java/javax/enterprise/inject/Alternative.java
   api/trunk/cdi/src/main/java/javax/enterprise/inject/package-info.java
Log:
"bean archive"

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-05 21:38:05 UTC (rev 4705)
+++ api/trunk/cdi/src/main/java/javax/enterprise/inject/Alternative.java	2009-11-05 22:34:08 UTC (rev 4706)
@@ -52,8 +52,8 @@
  * for the bean archive if either:</p>
  * 
  * <ul>
- * <li>the alternative is a managed bean or session bean and 
- * the bean class of the bean is listed,</li>
+ * <li>the alternative is a managed bean or session bean and the 
+ * bean class of the bean is listed,</li>
  * <li>the alternative is a producer method, field or resource, 
  * and the bean class that declares the method or field is listed, 
  * or</li>

Modified: api/trunk/cdi/src/main/java/javax/enterprise/inject/package-info.java
===================================================================
--- api/trunk/cdi/src/main/java/javax/enterprise/inject/package-info.java	2009-11-05 21:38:05 UTC (rev 4705)
+++ api/trunk/cdi/src/main/java/javax/enterprise/inject/package-info.java	2009-11-05 22:34:08 UTC (rev 4706)
@@ -236,8 +236,8 @@
  * EJB specification.</p>
  * 
  * <ul>
- * <li>A {@linkplain javax.ejb.Stateless stateless session bean} must belong to the 
- * {@link javax.enterprise.context.Dependent &#064;Dependent} pseudo-scope.</li>
+ * <li>A {@linkplain javax.ejb.Stateless stateless session bean} must belong to 
+ * the {@link javax.enterprise.context.Dependent &#064;Dependent} pseudo-scope.</li>
  * <li>A {@linkplain javax.ejb.Singleton singleton bean} must belong to either the 
  * {@link javax.enterprise.context.ApplicationScoped &#064;ApplicationScoped} 
  * scope or to the {@link javax.enterprise.context.Dependent &#064;Dependent}
@@ -264,12 +264,10 @@
  * acts as a source of objects to be injected, where:</p>
  * 
  * <ul>
- * <li>the objects to be injected are not required to be instances 
- * of beans, or</li>
- * <li>the concrete type of the objects to be injected may vary at
- * runtime, or</li>
- * <li>the objects require some custom initialization that is not 
- * performed by the bean constructor.</li>
+ * <li>the objects to be injected are not required to be instances of beans, or</li>
+ * <li>the concrete type of the objects to be injected may vary at runtime, or</li>
+ * <li>the objects require some custom initialization that is not performed by 
+ * the bean constructor.</li>
  * </ul>
  * 
  * <p>A producer method or field is a method or field of a bean class annotated
@@ -356,9 +354,8 @@
  * <ul>
  * <li>the bean is not an interceptor or decorator,</li>
  * <li>the bean is enabled,</li>
- * <li>the bean is either not an alternative, or the module is a bean deployment 
- * archive and the bean is a selected alternative of the bean deployment 
- * archive, and</li>
+ * <li>the bean is either not an alternative, or the module is a bean archive and 
+ * the bean is a selected alternative of the bean archive, and</li>
  * <li>the bean class is required to be accessible to classes in the module, 
  * according to the class accessibility requirements of the module architecture.</li>
  * </ul>
@@ -400,9 +397,8 @@
  * <li>and array types.</li>
  * </ul>
  * 
- * <p>An injection point whose declared type cannot be proxied by the 
- * container must not resolve to a bean with a 
- * {@linkplain javax.enterprise.context normal scope}.</p>
+ * <p>An injection point whose declared type cannot be proxied by the container must 
+ * not resolve to a bean with a {@linkplain javax.enterprise.context normal scope}.</p>
  * 
  * <h3>EL name resolution</h3>
  * 



More information about the weld-commits mailing list