[jboss-cvs] JBossAS SVN: r105519 - projects/docs/enterprise/EAP/trunk/5.x/Seam_Reference_Guide/en-US.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Jun 1 19:29:44 EDT 2010


Author: misty at redhat.com
Date: 2010-06-01 19:29:44 -0400 (Tue, 01 Jun 2010)
New Revision: 105519

Modified:
   projects/docs/enterprise/EAP/trunk/5.x/Seam_Reference_Guide/en-US/Clustering_EJBPassivation.xml
Log:
JBPAPP-4387

Modified: projects/docs/enterprise/EAP/trunk/5.x/Seam_Reference_Guide/en-US/Clustering_EJBPassivation.xml
===================================================================
--- projects/docs/enterprise/EAP/trunk/5.x/Seam_Reference_Guide/en-US/Clustering_EJBPassivation.xml	2010-06-01 23:28:48 UTC (rev 105518)
+++ projects/docs/enterprise/EAP/trunk/5.x/Seam_Reference_Guide/en-US/Clustering_EJBPassivation.xml	2010-06-01 23:29:44 UTC (rev 105519)
@@ -210,9 +210,8 @@
 
             <para>
                You can watch objects passivate and activate by creating a session- or conversation-scoped Seam component and implementing the appropriate life-cycle methods. You can use methods from the <literal>HttpSessionActivationListener</literal> interface (which is automatically registered on all non-EJB components):</para>
-<programlisting language="Java" role="JAVA"><![CDATA[public void sessionWillPassivate(HttpSessionEvent e);
-public void sessionDidActivate(HttpSessionEvent e);
-]]></programlisting>
+<programlisting language="Java" role="JAVA">public void sessionWillPassivate(HttpSessionEvent e);
+public void sessionDidActivate(HttpSessionEvent e);</programlisting>
             <para>
                Alternatively, you can mark two public void methods (without arguments) with <literal>@PrePassivate</literal> and <literal>@PostActivate</literal> respectively. Remember that passivation will occur at the end of every request, while activation will occur when a node is called.
             </para>
@@ -235,8 +234,7 @@
             The <literal>ManagedEntityInterceptor</literal> (MEI) is an optional interceptor in Seam. When enabled, it is applied to conversation-scoped components. To enable the MEI, set <varname>distributable</varname> to <literal>true</literal> on the <literal>org.jboss.seam.init.core</literal> component. You can also add or update the following component declaration in your <filename>components.xml</filename> file:
         </para>
 
-<programlisting language="XML" role="XML"><![CDATA[<core:init distributable="true"/>
-]]></programlisting>
+<programlisting language="XML" role="XML"><![CDATA[<core:init distributable="true"/>]]></programlisting>
             
         <para>
             This does not enable HTTP Session replication, but it does let Seam handle the passivation of either EJB components or components in the HTTP Session.




More information about the jboss-cvs-commits mailing list