[jboss-cvs] jboss-seam/doc/reference/en/modules ...
Gavin King
gavin.king at jboss.com
Fri Jun 15 13:08:17 EDT 2007
User: gavin
Date: 07/06/15 13:08:17
Modified: doc/reference/en/modules persistence.xml
Log:
update
Revision Changes Path
1.11 +12 -16 jboss-seam/doc/reference/en/modules/persistence.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: persistence.xml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/doc/reference/en/modules/persistence.xml,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- persistence.xml 15 Jun 2007 07:36:20 -0000 1.10
+++ persistence.xml 15 Jun 2007 17:08:17 -0000 1.11
@@ -161,21 +161,6 @@
facilities were designed to work together, and work best when used together.
</para>
- <section>
- <title>Enabling Seam-managed transactions</title>
-
- <para>
- To make use of <emphasis>Seam managed transactions</emphasis>, you need to use
- <literal>TransactionalSeamPhaseListener</literal> in place of
- <literal>SeamPhaseListener</literal>.
- </para>
-
- <programlisting><![CDATA[<lifecycle>
- <phase-listener>
- org.jboss.seam.jsf.TransactionalSeamPhaseListener
- </phase-listener>
-</lifecycle>]]></programlisting>
-
<para>
Seam transaction management is useful even if you're using EJB 3.0
container-managed persistence contexts. But it is especially useful
@@ -183,6 +168,17 @@
case where you would use a Seam-managed persistence context.
</para>
+ <section>
+ <title>Disabling Seam-managed transactions</title>
+
+ <para>
+ Seam transaction management is enabled by default for all JSF requests.
+ If you want to <emphasis>disable</emphasis> this feature, you can do it
+ in <literal>components.xml</literal>:
+ </para>
+
+ <programlisting><![CDATA[<core:init transaction-management-enabled="false"/>]]></programlisting>
+
</section>
</section>
More information about the jboss-cvs-commits
mailing list