Author: gavin.king(a)jboss.com
Date: 2009-10-30 14:25:18 -0400 (Fri, 30 Oct 2009)
New Revision: 4466
Modified:
api/trunk/cdi/src/main/java/javax/enterprise/inject/spi/ProcessAnnotatedType.java
api/trunk/cdi/src/main/java/javax/enterprise/inject/spi/ProcessBean.java
api/trunk/cdi/src/main/java/javax/enterprise/inject/spi/ProcessInjectionTarget.java
api/trunk/cdi/src/main/java/javax/enterprise/inject/spi/ProcessManagedBean.java
api/trunk/cdi/src/main/java/javax/enterprise/inject/spi/ProcessObserverMethod.java
api/trunk/cdi/src/main/java/javax/enterprise/inject/spi/ProcessProducer.java
api/trunk/cdi/src/main/java/javax/enterprise/inject/spi/ProcessProducerField.java
api/trunk/cdi/src/main/java/javax/enterprise/inject/spi/ProcessProducerMethod.java
api/trunk/cdi/src/main/java/javax/enterprise/inject/spi/ProcessSessionBean.java
Log:
update process events to latest spec
Modified:
api/trunk/cdi/src/main/java/javax/enterprise/inject/spi/ProcessAnnotatedType.java
===================================================================
---
api/trunk/cdi/src/main/java/javax/enterprise/inject/spi/ProcessAnnotatedType.java 2009-10-30
18:11:36 UTC (rev 4465)
+++
api/trunk/cdi/src/main/java/javax/enterprise/inject/spi/ProcessAnnotatedType.java 2009-10-30
18:25:18 UTC (rev 4466)
@@ -18,8 +18,9 @@
/**
* <p>
- * The container fires this event for each Java class or interface it discovers,
- * before it reads the declared annotations.
+ * The container fires an event of this type for each Java class or interface
+ * it discovers in a bean deployment archive, before it reads the declared
+ * annotations.
* </p>
* <p>
* Any observer of this event is permitted to wrap and/or replace the
Modified: api/trunk/cdi/src/main/java/javax/enterprise/inject/spi/ProcessBean.java
===================================================================
--- api/trunk/cdi/src/main/java/javax/enterprise/inject/spi/ProcessBean.java 2009-10-30
18:11:36 UTC (rev 4465)
+++ api/trunk/cdi/src/main/java/javax/enterprise/inject/spi/ProcessBean.java 2009-10-30
18:25:18 UTC (rev 4466)
@@ -18,8 +18,9 @@
/**
* <p>
- * The container fires an event of this type for each bean it discovers, before
- * registering the {@link javax.enterprise.inject.spi.Bean} object.
+ * The container fires an event of this type for each enabled bean, interceptor
+ * or decorator deployed in a bean deployment archive, before registering the
+ * {@link javax.enterprise.inject.spi.Bean} object.
* </p>
* <p>
* The event object type depends upon what kind of bean was discovered:
Modified:
api/trunk/cdi/src/main/java/javax/enterprise/inject/spi/ProcessInjectionTarget.java
===================================================================
---
api/trunk/cdi/src/main/java/javax/enterprise/inject/spi/ProcessInjectionTarget.java 2009-10-30
18:11:36 UTC (rev 4465)
+++
api/trunk/cdi/src/main/java/javax/enterprise/inject/spi/ProcessInjectionTarget.java 2009-10-30
18:25:18 UTC (rev 4466)
@@ -18,8 +18,10 @@
/**
* <p>
- * The container will fire an event of this type for each managed bean, session
- * bean, Java EE component class supporting injection.
+ * The container fires an event of this type for every Java EE component class supporting
+ * injection that may be instantiated by the container at runtime, including every
+ * managed bean declared using {@code javax.annotation.ManagedBean}, EJB session
+ * or message-driven bean, enabled bean, enabled interceptor or enabled decorator.
* </p>
* <p>
* Any observer of this event is permitted to wrap and/or replace the
Modified: api/trunk/cdi/src/main/java/javax/enterprise/inject/spi/ProcessManagedBean.java
===================================================================
---
api/trunk/cdi/src/main/java/javax/enterprise/inject/spi/ProcessManagedBean.java 2009-10-30
18:11:36 UTC (rev 4465)
+++
api/trunk/cdi/src/main/java/javax/enterprise/inject/spi/ProcessManagedBean.java 2009-10-30
18:25:18 UTC (rev 4466)
@@ -18,7 +18,7 @@
/**
* <p>
- * The container fires an event of this type for each managed bean it discovers,
+ * The container fires an event of this type for each enabled managed bean,
* before registering the {@link javax.enterprise.inject.spi.Bean} object.
* </p>
* <p>
Modified:
api/trunk/cdi/src/main/java/javax/enterprise/inject/spi/ProcessObserverMethod.java
===================================================================
---
api/trunk/cdi/src/main/java/javax/enterprise/inject/spi/ProcessObserverMethod.java 2009-10-30
18:11:36 UTC (rev 4465)
+++
api/trunk/cdi/src/main/java/javax/enterprise/inject/spi/ProcessObserverMethod.java 2009-10-30
18:25:18 UTC (rev 4466)
@@ -20,8 +20,9 @@
/**
* <p>
* The container fires an event of this type for each
- * {@linkplain javax.enterprise.inject.spi.ObserverMethod observer method} that
- * is registered.
+ * {@linkplain javax.enterprise.event.Observes observer method}
+ * of each enabled bean, before registering the
+ * {@link javax.enterprise.inject.spi.ObserverMethod} object.
* </p>
* <p>
* If any observer method of a {@code ProcessObserverMethod} event throws an
Modified: api/trunk/cdi/src/main/java/javax/enterprise/inject/spi/ProcessProducer.java
===================================================================
---
api/trunk/cdi/src/main/java/javax/enterprise/inject/spi/ProcessProducer.java 2009-10-30
18:11:36 UTC (rev 4465)
+++
api/trunk/cdi/src/main/java/javax/enterprise/inject/spi/ProcessProducer.java 2009-10-30
18:25:18 UTC (rev 4466)
@@ -19,9 +19,9 @@
/**
* <p>
- * The container will fire an event of this type for each
- * {@linkplain javax.enterprise.inject.Produces producer method or field},
- * including resources.
+ * The container fires an event of this type for each
+ * {@linkplain javax.enterprise.inject.Produces producer method or field}
+ * of each enabled bean, including resources.
* </p>
* <p>
* Any observer of this event is permitted to wrap and/or replace the {@code
Modified:
api/trunk/cdi/src/main/java/javax/enterprise/inject/spi/ProcessProducerField.java
===================================================================
---
api/trunk/cdi/src/main/java/javax/enterprise/inject/spi/ProcessProducerField.java 2009-10-30
18:11:36 UTC (rev 4465)
+++
api/trunk/cdi/src/main/java/javax/enterprise/inject/spi/ProcessProducerField.java 2009-10-30
18:25:18 UTC (rev 4466)
@@ -18,9 +18,9 @@
/**
* <p>
- * The container fires an event of this type for each producer field it
- * discovers, before registering the corresponding
- * {@link javax.enterprise.inject.spi.Bean} object.
+ * The container fires an event of this type for each enabled producer field,
+ * before registering the {@link javax.enterprise.inject.spi.Bean} object.
+ * Resources are considered to be producer fields.
* </p>
* <p>
* If any observer method of a {@code ProcessProducerField} event throws an
Modified:
api/trunk/cdi/src/main/java/javax/enterprise/inject/spi/ProcessProducerMethod.java
===================================================================
---
api/trunk/cdi/src/main/java/javax/enterprise/inject/spi/ProcessProducerMethod.java 2009-10-30
18:11:36 UTC (rev 4465)
+++
api/trunk/cdi/src/main/java/javax/enterprise/inject/spi/ProcessProducerMethod.java 2009-10-30
18:25:18 UTC (rev 4466)
@@ -18,9 +18,8 @@
/**
* <p>
- * The container fires an event of this type for each producer method it
- * discovers, before registering the corresponding
- * {@link javax.enterprise.inject.spi.Bean} object.
+ * The container fires an event of this type for each enabled producer method,
+ * before registering the {@link javax.enterprise.inject.spi.Bean} object.
* </p>
* <p>
* If any observer method of a {@code ProcessProducerMethod} event throws an
Modified: api/trunk/cdi/src/main/java/javax/enterprise/inject/spi/ProcessSessionBean.java
===================================================================
---
api/trunk/cdi/src/main/java/javax/enterprise/inject/spi/ProcessSessionBean.java 2009-10-30
18:11:36 UTC (rev 4465)
+++
api/trunk/cdi/src/main/java/javax/enterprise/inject/spi/ProcessSessionBean.java 2009-10-30
18:25:18 UTC (rev 4466)
@@ -19,7 +19,7 @@
/**
* <p>
- * The container fires an event of this type for each session bean it discovers,
+ * The container fires an event of this type for each enabled session bean,
* before registering the {@link javax.enterprise.inject.spi.Bean} object.
* </p>
* <p>
Show replies by date