myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ima...@apache.org
Subject svn commit: r573231 - /myfaces/orchestra/trunk/core/src/site/xdoc/installation.xml
Date Thu, 06 Sep 2007 11:49:16 GMT
Author: imario
Date: Thu Sep  6 04:49:16 2007
New Revision: 573231

URL: http://svn.apache.org/viewvc?rev=573231&view=rev
Log:
description about configuring a timout per scope

Modified:
    myfaces/orchestra/trunk/core/src/site/xdoc/installation.xml

Modified: myfaces/orchestra/trunk/core/src/site/xdoc/installation.xml
URL: http://svn.apache.org/viewvc/myfaces/orchestra/trunk/core/src/site/xdoc/installation.xml?rev=573231&r1=573230&r2=573231&view=diff
==============================================================================
--- myfaces/orchestra/trunk/core/src/site/xdoc/installation.xml (original)
+++ myfaces/orchestra/trunk/core/src/site/xdoc/installation.xml Thu Sep  6 04:49:16 2007
@@ -193,6 +193,22 @@
 						If your application does not have to
 						deal with persistence, and you would still like to use the conversation
 						scope you can delete the advices from this configuration.
+						<br />
+						Optionally you can configure the timeout used to automatically end a conversation.
+						<br />
+						The <code>timeout</code> property accepts a numeric value which means a
timespan
+						in minutes. For example:
+						<pre>
+&lt;bean class="org.apache.myfaces.orchestra.conversation.spring.SpringConversationScope"&gt;
+	&lt;property name="timeout" value="35" /&gt;
+	&lt;property name="advices"&gt;
+		&lt;list&gt;
+			&lt;ref bean="persistentContextConversationInterceptor"/&gt;
+		&lt;/list&gt;
+	&lt;/property&gt;                                             s
+&lt;/bean&gt;
+						</pre>
+						This ends a conversation after 35 minutes.
 					</li>
 
 					<li>3. the "entity manager" manager



Mime
View raw message