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

weld-commits at lists.jboss.org weld-commits at lists.jboss.org
Sun Nov 15 19:21:08 EST 2009


Author: gavin.king at jboss.com
Date: 2009-11-15 19:21:07 -0500 (Sun, 15 Nov 2009)
New Revision: 5064

Modified:
   doc/trunk/reference/en-US/producermethods.xml
Log:
move

Modified: doc/trunk/reference/en-US/producermethods.xml
===================================================================
--- doc/trunk/reference/en-US/producermethods.xml	2009-11-16 00:18:47 UTC (rev 5063)
+++ doc/trunk/reference/en-US/producermethods.xml	2009-11-16 00:21:07 UTC (rev 5064)
@@ -93,16 +93,6 @@
             object for each user session.
          </para>
          
-         <note>
-            <para>
-               The producer method does <emphasis>not</emphasis> inherit the scope of the bean that declares the 
-               method. There are two different beans here: the producer method, and the bean which declares it. The 
-               scope of the producer method determines how often the method will be called, and the lifecycle of the 
-               objects returned by the method. The scope of the bean that declares the producer method determines the
-               lifecycle of the object upon which the producer method is invoked.
-            </para>
-         </note>
-
          <para>
             To change this behavior, we can add a <literal>@SessionScoped</literal> annotation to the method.
          </para>
@@ -117,6 +107,16 @@
             the session context. The producer method won't be called again in the same session.
          </para>
   
+         <note>
+            <para>
+               A producer method does <emphasis>not</emphasis> inherit the scope of the bean that declares the 
+               method. There are two different beans here: the producer method, and the bean which declares it. The 
+               scope of the producer method determines how often the method will be called, and the lifecycle of the 
+               objects returned by the method. The scope of the bean that declares the producer method determines the
+               lifecycle of the object upon which the producer method is invoked.
+            </para>
+         </note>
+
       </section>
 
       <section>



More information about the weld-commits mailing list