Author: dan.j.allen
Date: 2009-11-04 14:08:13 -0500 (Wed, 04 Nov 2009)
New Revision: 4670
Modified:
doc/trunk/reference/en-US/gettingstarted.xml
Log:
properly describe how game is initialized
Modified: doc/trunk/reference/en-US/gettingstarted.xml
===================================================================
--- doc/trunk/reference/en-US/gettingstarted.xml 2009-11-04 19:06:22 UTC (rev 4669)
+++ doc/trunk/reference/en-US/gettingstarted.xml 2009-11-04 19:08:13 UTC (rev 4670)
@@ -818,8 +818,9 @@
<para>
The final bean in the application is the session-scoped
<literal>Game</literal> class. This is the primary
entry point of the application. It's responsible for setting up or resetting
the game, capturing and validating
- the user's guess and providing feedback to the user with a
<literal>FacesMessage</literal>. We've used
- constructor injection to initialize the game with a random number.
+ the user's guess and providing feedback to the user with a
<literal>FacesMessage</literal>. We've used the
+ post-construct lifecycle method to initialize the game by retrieving a random
number from the <literal>@Random
+ Instance<Integer></literal> bean.
</para>
<para>
Show replies by date