Author: gavin.king(a)jboss.com
Date: 2009-10-23 23:23:23 -0400 (Fri, 23 Oct 2009)
New Revision: 4263
Modified:
api/trunk/cdi/src/main/java/javax/enterprise/inject/package-info.java
Log:
minor improvs
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-10-24
03:17:10 UTC (rev 4262)
+++ api/trunk/cdi/src/main/java/javax/enterprise/inject/package-info.java 2009-10-24
03:23:23 UTC (rev 4263)
@@ -84,9 +84,9 @@
*
* <h3>Scope</h3>
*
- * <p>All beans have a scope. The scope of a bean determines the lifecycle
- * of its instances, and which instances of the bean are visible to instances
- * of other beans.</p>
+ * <p>All beans have a {@linkplain javax.enterprise.context scope}. The
+ * scope of a bean determines the lifecycle of its instances, and which
+ * instances of the bean are visible to instances of other beans.</p>
*
* <p>The scope of a bean is defined by annotating the bean class or producer
* method or field with a scope type or stereotype that declares a default
@@ -97,6 +97,9 @@
* public class Order { ... }
* </pre>
*
+ * <p>A bean class or producer method or field may specify at most one
+ * scope type annotation.</p>
+ *
* <h3>Bean EL name</h3>
*
* <p>A bean may have a bean EL name. A bean with an EL name may be referred
Show replies by date