This content has been marked as final.
Show 3 replies
-
1. Re: Missing component treatment in WebBeans RI
gavin.king May 28, 2009 1:59 AM (in response to gonorrhea)See section 5.2.1 of the spec.
-
2. Re: Missing component treatment in WebBeans RI
gonorrhea May 28, 2009 5:08 AM (in response to gonorrhea)So this is the pertinent portion of 5.2.1:
The container must validate all injection points of all enabled beans and other Java EE component classes supporting injection
when the application is initialized to ensure that there are no unsatisfied or unresolvable ambiguous dependencies.
If an unsatisfied or unresolvable ambiguous dependency exists, the container automatically detects the problem and treats
it as a deployment problem, as defined in Section 12.4, “Problems detected automatically by the container”.So that is in the context of DI in Web Beans RI perhaps.
I guess my question has more to do with Seam 3 than the WB RI.
but thanks for the reply, I just learned something about the JCDI spec I did not know before.
btw, by
container
you're referring to the EJB container or a Web Beans container (if such exists)? Is that correct or no? -
3. Re: Missing component treatment in WebBeans RI
nickarls May 28, 2009 12:14 PM (in response to gonorrhea)Seam 3 bootstrapping = Web Beans bootstrapping, methinks. I don't think Seam 3 will have its own(?)
In the spec the container is the JCDI container unless otherwise specified by the context