[jboss-svn-commits] JBL Code SVN: r36962 - in labs/jbosstm/trunk: ArjunaJTA/docs/development_guide/en-US and 1 other directory.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Thu Apr 21 05:54:27 EDT 2011


Author: tomjenkinson
Date: 2011-04-21 05:54:27 -0400 (Thu, 21 Apr 2011)
New Revision: 36962

Modified:
   labs/jbosstm/trunk/ArjunaCore/docs/failure_recovery_guide/en-US/Further_failure_recovery.xml
   labs/jbosstm/trunk/ArjunaJTA/docs/development_guide/en-US/JDBC.xml
   labs/jbosstm/trunk/ArjunaJTA/docs/development_guide/en-US/Revision_History.xml
Log:
JBTM-820 update to make sure that the programlisting is indented correctly

Modified: labs/jbosstm/trunk/ArjunaCore/docs/failure_recovery_guide/en-US/Further_failure_recovery.xml
===================================================================
--- labs/jbosstm/trunk/ArjunaCore/docs/failure_recovery_guide/en-US/Further_failure_recovery.xml	2011-04-21 09:35:29 UTC (rev 36961)
+++ labs/jbosstm/trunk/ArjunaCore/docs/failure_recovery_guide/en-US/Further_failure_recovery.xml	2011-04-21 09:54:27 UTC (rev 36962)
@@ -65,11 +65,11 @@
         (typically one for each node on the network that is running JBossTS applications). The RecoveryManager file is located in the package
         com.arjuna.ats.arjuna.recovery.RecoveryManager. To start the Recovery Manager issue the following command:</para>
       <para>
-        <programlisting role="JAVA" language="Java">java com.arjuna.ats.arjuna.recovery.RecoveryManager</programlisting>
+        <programlisting language="Java" role="JAVA">java com.arjuna.ats.arjuna.recovery.RecoveryManager</programlisting>
       </para>
       <para>If the -test flag is used with the Recovery Manager then it will display a “Ready” message when initialised, i.e.,</para>
       <para>
-        <programlisting role="JAVA" language="Java">java com.arjuna.ats.arjuna.recovery.RecoveryManager -test</programlisting>
+        <programlisting language="Java" role="JAVA">java com.arjuna.ats.arjuna.recovery.RecoveryManager -test</programlisting>
       </para>
     </section>
     <section>
@@ -150,9 +150,7 @@
         pass is in progress). The default Recovery Extension settings are:</para>
       <example>
         <title>Recovery Environment Bean XML</title>
-        <programlisting role="XML" language="XML">
-          <xi:include href="extras/recoveryEnvironmentBean.xml" xmlns:xi="http://www.w3.org/2001/XInclude" parse="text" />
-        </programlisting>
+        <programlisting role="XML" language="XML"><xi:include href="extras/recoveryEnvironmentBean.xml" xmlns:xi="http://www.w3.org/2001/XInclude" parse="text" /></programlisting>
       </example>
     </section>
     <section>
@@ -188,22 +186,18 @@
       <para>The Expiry Scanner properties for these are:</para>
       <example>
         <title>Recovery Environment Bean XML</title>
-        <programlisting role="XML" language="XML">
-          <xi:include href="extras/recoveryEnvironmentBeanExpiryScanners.xml" xmlns:xi="http://www.w3.org/2001/XInclude" parse="text" />
-        </programlisting>
+        <programlisting role="XML" language="XML"><xi:include href="extras/recoveryEnvironmentBeanExpiryScanners.xml" xmlns:xi="http://www.w3.org/2001/XInclude" parse="text" /></programlisting>
       </example>
       <para>To illustrate the behavior of a recovery module, the following pseudo code describes the basic algorithm used for Atomic Action
         transactions and Transactional Objects for java.</para>
       <example>
         <title>AtomicAction pseudo code</title>
-        <programlisting>
-          <xi:include href="extras/atomicaction.txt" xmlns:xi="http://www.w3.org/2001/XInclude" parse="text" />
+        <programlisting language="Java" role="JAVA"><xi:include href="extras/atomicaction.txt" xmlns:xi="http://www.w3.org/2001/XInclude" parse="text" />
         </programlisting>
       </example>
       <example>
         <title>Transactional Object pseudo code</title>
-        <programlisting>
-          <xi:include href="extras/txoj.txt" xmlns:xi="http://www.w3.org/2001/XInclude" parse="text" />
+        <programlisting language="Java" role="JAVA"><xi:include href="extras/txoj.txt" xmlns:xi="http://www.w3.org/2001/XInclude" parse="text" />
         </programlisting>
       </example>
     </section>
@@ -233,8 +227,7 @@
       <para>The code of the main class that control the application is given below</para>
       <example>
         <title>TestRecoveryModule.java</title>
-        <programlisting role="JAVA" language="Java">
-          <xi:include href="extras/TestRecoveryModule.java" xmlns:xi="http://www.w3.org/2001/XInclude" parse="text" />
+        <programlisting language="Java" role="JAVA"><xi:include href="extras/TestRecoveryModule.java" xmlns:xi="http://www.w3.org/2001/XInclude" parse="text" />
         </programlisting>
       </example>
       <para>The registered participant has the following behavior: </para>
@@ -260,25 +253,21 @@
       </warning>
       <example>
         <title>SimpleRecord.java</title>
-        <programlisting role="JAVA" language="Java">
-          <xi:include href="extras/SimpleRecord.java" xmlns:xi="http://www.w3.org/2001/XInclude" parse="text" />
+        <programlisting language="Java" role="JAVA"><xi:include href="extras/SimpleRecord.java" xmlns:xi="http://www.w3.org/2001/XInclude" parse="text" />
         </programlisting>
       </example>
       <para>The role of the Recovery Module in such application consists to read the content of the file used to store the status of the participant,
         to determine that status and print a message indicating if a recovery action is needed or not. </para>
       <example>
         <title>SimpleRecoveryModule.java</title>
-        <programlisting role="JAVA" language="Java">
-          <xi:include href="extras/SimpleRecoveryModule.java" xmlns:xi="http://www.w3.org/2001/XInclude" parse="text" />
+        <programlisting language="Java" role="JAVA"><xi:include href="extras/SimpleRecoveryModule.java" xmlns:xi="http://www.w3.org/2001/XInclude" parse="text" />
         </programlisting>
       </example>
       <para>The recovery module should now be deployed in order to be called by the Recovery Manager. To do so, we just need to add an entry in the
         the config file for the extension: </para>
       <example>
         <title>Recovery Environment Bean Recovery Extensions XML</title>
-        <programlisting role="XML" language="XML">
-          <xi:include href="extras/recoveryEnvironmentBeanRecoveryExtensions.xml" xmlns:xi="http://www.w3.org/2001/XInclude" parse="text" />
-        </programlisting>
+        <programlisting role="XML" language="XML"><xi:include href="extras/recoveryEnvironmentBeanRecoveryExtensions.xml" xmlns:xi="http://www.w3.org/2001/XInclude" parse="text" /></programlisting>
       </example>
       <para>Once started, the Recovery Manager will automatically load the listed Recovery modules.</para>
       <note>

Modified: labs/jbosstm/trunk/ArjunaJTA/docs/development_guide/en-US/JDBC.xml
===================================================================
--- labs/jbosstm/trunk/ArjunaJTA/docs/development_guide/en-US/JDBC.xml	2011-04-21 09:35:29 UTC (rev 36961)
+++ labs/jbosstm/trunk/ArjunaJTA/docs/development_guide/en-US/JDBC.xml	2011-04-21 09:54:27 UTC (rev 36962)
@@ -58,8 +58,7 @@
 
       <example>
         <title>Registering the drivers with the JDBC driver manager using the Java system properties</title>
-        <programlisting language="Java" role="JAVA">
-        <xi:include href="extras/registering_transactionaldriver_using_jdbc_driver_manager.java" xmlns:xi="http://www.w3.org/2001/XInclude" parse="text" /></programlisting>
+        <programlisting language="Java" role="JAVA"><xi:include href="extras/registering_transactionaldriver_using_jdbc_driver_manager.java" xmlns:xi="http://www.w3.org/2001/XInclude" parse="text" /></programlisting>
         <para>
           The jdbc.drivers property contains a colon-separated list of driver class names, which the JDBC driver manager
           loads when it is initialized.  After the driver is loaded, you can use it to make a connection with a

Modified: labs/jbosstm/trunk/ArjunaJTA/docs/development_guide/en-US/Revision_History.xml
===================================================================
--- labs/jbosstm/trunk/ArjunaJTA/docs/development_guide/en-US/Revision_History.xml	2011-04-21 09:35:29 UTC (rev 36961)
+++ labs/jbosstm/trunk/ArjunaJTA/docs/development_guide/en-US/Revision_History.xml	2011-04-21 09:54:27 UTC (rev 36962)
@@ -8,7 +8,7 @@
   <simpara>
     <revhistory>
       <revision>
-        <revnumber>0-0</revnumber>
+        <revnumber>0</revnumber>
         <date>Thu Oct 28 2010</date>
         <author>
           <firstname>Misty</firstname>
@@ -22,7 +22,7 @@
         </revdescription>
       </revision>
       <revision>
-        <revnumber>0-0</revnumber>
+        <revnumber>1</revnumber>
         <date>Thu Apr 14 2011</date>
         <author>
           <firstname>Tom</firstname>



More information about the jboss-svn-commits mailing list