Author: gavin.king(a)jboss.com
Date: 2009-11-09 12:58:07 -0500 (Mon, 09 Nov 2009)
New Revision: 4878
Modified:
doc/trunk/reference/en-US/intro.xml
Log:
does not throw exceptions
Modified: doc/trunk/reference/en-US/intro.xml
===================================================================
--- doc/trunk/reference/en-US/intro.xml 2009-11-09 17:46:46 UTC (rev 4877)
+++ doc/trunk/reference/en-US/intro.xml 2009-11-09 17:58:07 UTC (rev 4878)
@@ -200,17 +200,16 @@
<para>
At system initialization time, the container must validate that exactly one bean
exists which satisfies each
- injection point. In our example, if no implementation of
<literal>Translator</literal> is available—if the
- <literal>SentenceTranslator</literal> EJB was not
deployed—the container would throw an
- <literal>UnsatisfiedDependencyException</literal>. If more than one
implementation of
- <literal>Translator</literal> were available, the container would
throw an
- <literal>AmbiguousDependencyException</literal>.
+ injection point. In our example, if no implementation of
<literal>Translator</literal> is available—if
+ the <literal>SentenceTranslator</literal> EJB was not
deployed—the container would inform us of an
+ <emphasis>unsatisfied dependency</emphasis>. If more than one
implementation of <literal>Translator</literal>
+ were available, the container would inform us of the <emphasis>ambiguous
dependency</emphasis>.
</para>
<para>
- Now we are starting to venture off into the details, so let's pause and
examine a bean's anatomy. What aspects
- of the bean are significant, and what gives it its identity? Instead of giving
examples of beans, we're going
- to define what <emphasis>makes</emphasis> something a bean.
+ Before we get too deep in the details, let's pause and examine a bean's
anatomy. What aspects of the bean are
+ significant, and what gives it its identity? Instead of just giving examples of
beans, we're going to define
+ what <emphasis>makes</emphasis> something a bean.
</para>
</section>
@@ -308,7 +307,7 @@
</blockquote>
- <para>Let's see what some of these terms mean, to the CDI
developer.</para>
+ <para>Let's see what some of these new terms mean.</para>
<section>
<title>Bean types, qualifiers and dependency injection</title>
Show replies by date