Author: gavin.king(a)jboss.com
Date: 2009-10-28 18:55:36 -0400 (Wed, 28 Oct 2009)
New Revision: 4364
Modified:
api/trunk/cdi/src/main/java/javax/enterprise/inject/spi/BeanManager.java
api/trunk/cdi/src/main/java/javax/enterprise/inject/spi/Producer.java
Log:
update to latest spec
Modified: api/trunk/cdi/src/main/java/javax/enterprise/inject/spi/BeanManager.java
===================================================================
--- api/trunk/cdi/src/main/java/javax/enterprise/inject/spi/BeanManager.java 2009-10-28
22:49:47 UTC (rev 4363)
+++ api/trunk/cdi/src/main/java/javax/enterprise/inject/spi/BeanManager.java 2009-10-28
22:55:36 UTC (rev 4364)
@@ -105,10 +105,11 @@
public <T> CreationalContext<T>
createCreationalContext(Contextual<T> contextual);
/**
- * Returns the set of beans which match the given required type and
- * qualifiers and are accessible to the class into which the BeanManager was
- * injected, according to the rules of typesafe resolution. Typesafe
- * resolution usually occurs at container deployment time.
+ * Returns the set of beans which have the given required type and qualifiers
+ * and are available for injection in the module or library containing the
+ * class into which the BeanManager was injected or the Java EE component from
+ * whose JNDI environment namespace the BeanManager was obtained, according to
+ * the rules of typesafe resolution.
*
* @param beanType the type of the beans to be resolved
* @param qualifiers the qualifiers used to restrict the matched beans. If no
@@ -125,9 +126,11 @@
public Set<Bean<?>> getBeans(Type beanType, Annotation... qualifiers);
/**
- * Returns the set of beans which match the given EL name and are accessible
- * to the class into which the BeanManager was injected, according to the
- * rules of EL name resolution.
+ * Returns the set of beans which have the given EL name and are available for
+ * injection in the module or library containing the class into which the
+ * BeanManager was injected or the Java EE component from whose JNDI environment
+ * namespace the BeanManager was obtained, according to the rules of EL name
+ * resolution.
*
* @param name the name used to restrict the beans matched
* @return the matched beans
Modified: api/trunk/cdi/src/main/java/javax/enterprise/inject/spi/Producer.java
===================================================================
--- api/trunk/cdi/src/main/java/javax/enterprise/inject/spi/Producer.java 2009-10-28
22:49:47 UTC (rev 4363)
+++ api/trunk/cdi/src/main/java/javax/enterprise/inject/spi/Producer.java 2009-10-28
22:55:36 UTC (rev 4364)
@@ -40,7 +40,7 @@
* If the {@code Producer} represents a class, this will invoke the
* constructor annotated {@link javax.inject.Inject} if it exists, or the
* constructor with no parameters. If the class has interceptors, produce()
- * is responsible for building the interceptor and decorator stacks for the
+ * is responsible for building the interceptors and decorators of the
* instance.
* </p>
* <p>