[weld-commits] Weld SVN: r4996 - doc/trunk/reference/en-US.

weld-commits at lists.jboss.org weld-commits at lists.jboss.org
Wed Nov 11 22:04:49 EST 2009


Author: gavin.king at jboss.com
Date: 2009-11-11 22:04:49 -0500 (Wed, 11 Nov 2009)
New Revision: 4996

Modified:
   doc/trunk/reference/en-US/weldexamples.xml
Log:
fix

Modified: doc/trunk/reference/en-US/weldexamples.xml
===================================================================
--- doc/trunk/reference/en-US/weldexamples.xml	2009-11-11 21:56:16 UTC (rev 4995)
+++ doc/trunk/reference/en-US/weldexamples.xml	2009-11-12 03:04:49 UTC (rev 4996)
@@ -887,9 +887,9 @@
                      The <literal>reset()</literal> method makes a call to the 
                      injected <literal>rndGenerator</literal> in order to get 
                      the random number at the start of each game. Note that it
-                     cannot use <literal>manager.getInstanceByType(Integer.class, new AnnotationLiteral&lt;Random&gt;(){})</literal>
-                     as the JSF example does because there will not be any active 
-                     contexts like there is during a JSF request.
+                     can't use <literal>Instance.get()</literal>  like the JSF 
+                     example does because there will not be any active contexts 
+                     like there are during a JSF request.
                   </para>
                </callout>
             </calloutlist>



More information about the weld-commits mailing list