[weld-commits] Weld SVN: r4252 - api/trunk/cdi/src/main/java/javax/enterprise/inject.
weld-commits at lists.jboss.org
weld-commits at lists.jboss.org
Fri Oct 23 21:44:59 EDT 2009
Author: gavin.king at jboss.com
Date: 2009-10-23 21:44:59 -0400 (Fri, 23 Oct 2009)
New Revision: 4252
Modified:
api/trunk/cdi/src/main/java/javax/enterprise/inject/Any.java
api/trunk/cdi/src/main/java/javax/enterprise/inject/Default.java
api/trunk/cdi/src/main/java/javax/enterprise/inject/New.java
Log:
minor changes
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-24 01:44:44 UTC (rev 4251)
+++ api/trunk/cdi/src/main/java/javax/enterprise/inject/Any.java 2009-10-24 01:44:59 UTC (rev 4252)
@@ -32,19 +32,18 @@
/**
* <p>The built-in qualifier type.</p>
*
- * <p>Every bean has the built-in qualifier
- * {@link javax.enterprise.inject.Any @Any}, even if it
- * does not explicitly declare this qualifier, except for the
- * special {@link javax.enterprise.inject.New @New}
- * qualified beans.</p>
+ * <p>Every bean has the qualifier <tt>@Any</tt>,
+ * even if it does not explicitly declare this qualifier,
+ * except for the special
+ * {@link javax.enterprise.inject.New @New qualified beans}.</p>
*
- * <p>Every event has the qualifier
- * {@link javax.enterprise.inject.Any @Any}, even if it
- * does not explicitly declare this qualifier.</p>
+ * <p>Every event has the qualifier <tt>@Any</tt>,
+ * even if it was raised without explicitly declaration
+ * of this qualifier.</p>
*
- * <p>The {@link javax.enterprise.inject.Any @Any}
- * qualifier allows an injection point to refer to all
- * beans or all events of a certain bean type.</p>
+ * <p>The <tt>@Any</tt> qualifier allows an injection
+ * point to refer to all beans or all events of a certain
+ * bean type.</p>
*
* <pre>
* @Inject @Any Instance<PaymentProcessor> anyPaymentProcessor;
Modified: api/trunk/cdi/src/main/java/javax/enterprise/inject/Default.java
===================================================================
--- api/trunk/cdi/src/main/java/javax/enterprise/inject/Default.java 2009-10-24 01:44:44 UTC (rev 4251)
+++ api/trunk/cdi/src/main/java/javax/enterprise/inject/Default.java 2009-10-24 01:44:59 UTC (rev 4252)
@@ -34,11 +34,11 @@
*
* <p>If a bean does not explicitly declare a qualifier other than
* {@link javax.inject.Named @Named}, the bean has the qualifier
- * {@link javax.enterprise.inject.Default @Default}.</p>
+ * <tt>@Default</tt>.</p>
*
* <p>If an injection point declares no qualifier, the injection point
* has exactly one qualifier, the default qualifier
- * {@link javax.enterprise.inject.Default @Default}.</p>
+ * <tt>@Default</tt>.</p>
*
* <p>The following are equivalent:</p>
*
Modified: api/trunk/cdi/src/main/java/javax/enterprise/inject/New.java
===================================================================
--- api/trunk/cdi/src/main/java/javax/enterprise/inject/New.java 2009-10-24 01:44:44 UTC (rev 4251)
+++ api/trunk/cdi/src/main/java/javax/enterprise/inject/New.java 2009-10-24 01:44:59 UTC (rev 4252)
@@ -32,8 +32,10 @@
/**
* <p>The built-in qualifier type.</p>
*
- * <p>This allows the application to obtain a new instance of a bean which is
- * not bound to the declared scope, but has had dependency injection performed.</p>
+ * <p>The <tt>@New</tt> qualifier allows the application
+ * to obtain a new instance of a bean which is not bound to
+ * the declared scope, but has had dependency injection
+ * performed.</p>
*
* <pre>
* @Produces @ConversationScoped
@@ -43,11 +45,13 @@
* }
* </pre>
*
- * <p>When the qualifier {@link javax.enterprise.inject.New @New} is specified
- * at an injection point and no {@link javax.enterprise.inject.New#value() value}
- * member is explicitly specified, the container defaults the
- * {@link javax.enterprise.inject.New#value() value} to the declared type of the
- * injection point. So the following injection point has qualifier
+ * <p>When the <tt>@New</tt> qualifier is specified
+ * at an injection point and no
+ * {@link javax.enterprise.inject.New#value() value}
+ * member is explicitly specified, the container defaults
+ * the {@link javax.enterprise.inject.New#value() value}
+ * to the declared type of the injection point. So the
+ * following injection point has qualifier
* <tt>@New(Order.class)</tt>:</p>
*
* <pre>
More information about the weld-commits
mailing list