tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject svn commit: r376345 - in /tomcat/container/tc5.5.x/webapps/docs: config/context.xml config/globalresources.xml jndi-resources-howto.xml
Date Thu, 09 Feb 2006 16:47:51 GMT
Author: remm
Date: Thu Feb  9 08:47:51 2006
New Revision: 376345

URL: http://svn.apache.org/viewcvs?rev=376345&view=rev
Log:
- Add some docs for the Transaction element.

Modified:
    tomcat/container/tc5.5.x/webapps/docs/config/context.xml
    tomcat/container/tc5.5.x/webapps/docs/config/globalresources.xml
    tomcat/container/tc5.5.x/webapps/docs/jndi-resources-howto.xml

Modified: tomcat/container/tc5.5.x/webapps/docs/config/context.xml
URL: http://svn.apache.org/viewcvs/tomcat/container/tc5.5.x/webapps/docs/config/context.xml?rev=376345&r1=376344&r2=376345&view=diff
==============================================================================
--- tomcat/container/tc5.5.x/webapps/docs/config/context.xml (original)
+++ tomcat/container/tc5.5.x/webapps/docs/config/context.xml Thu Feb  9 08:47:51 2006
@@ -747,6 +747,28 @@
 
   </subsection>
 
+  <subsection name="Transaction">
+
+    <p>You can declare the characteristics of the UserTransaction
+    to be returned for JNDI lookup for <code>java:comp/UserTransaction</code>.

+    You <strong>MUST</strong> define an object factory class to instantiate
+    this object as well as the needed resource parameters as attributes of the 
+    <code>Transaction</code> 
+    element, and the properties used to configure that object factory.</p>
+
+    <p>The valid attributes for the <code>&lt;Transaction&gt;</code>
element
+    are as follows:</p>
+
+    <attributes>
+
+      <attribute name="factory" required="true">
+        <p>The class name for the JNDI object factory.</p>
+      </attribute>
+
+    </attributes>
+
+  </subsection>
+
 </section>
 
 

Modified: tomcat/container/tc5.5.x/webapps/docs/config/globalresources.xml
URL: http://svn.apache.org/viewcvs/tomcat/container/tc5.5.x/webapps/docs/config/globalresources.xml?rev=376345&r1=376344&r2=376345&view=diff
==============================================================================
--- tomcat/container/tc5.5.x/webapps/docs/config/globalresources.xml (original)
+++ tomcat/container/tc5.5.x/webapps/docs/config/globalresources.xml Thu Feb  9 08:47:51 2006
@@ -223,6 +223,28 @@
 
    </subsection>
 
+  <subsection name="Transaction">
+
+    <p>You can declare the characteristics of the UserTransaction
+    to be returned for JNDI lookup for <code>java:comp/UserTransaction</code>.

+    You <strong>MUST</strong> define an object factory class to instantiate
+    this object as well as the needed resource parameters as attributes of the 
+    <code>Transaction</code> 
+    element, and the properties used to configure that object factory.</p>
+
+    <p>The valid attributes for the <code>&lt;Transaction&gt;</code>
element
+    are as follows:</p>
+
+    <attributes>
+
+      <attribute name="factory" required="true">
+        <p>The class name for the JNDI object factory.</p>
+      </attribute>
+
+    </attributes>
+
+  </subsection>
+
 </section>
 
 

Modified: tomcat/container/tc5.5.x/webapps/docs/jndi-resources-howto.xml
URL: http://svn.apache.org/viewcvs/tomcat/container/tc5.5.x/webapps/docs/jndi-resources-howto.xml?rev=376345&r1=376344&r2=376345&view=diff
==============================================================================
--- tomcat/container/tc5.5.x/webapps/docs/jndi-resources-howto.xml (original)
+++ tomcat/container/tc5.5.x/webapps/docs/jndi-resources-howto.xml Thu Feb  9 08:47:51 2006
@@ -121,6 +121,9 @@
     the<a href="config/globalresources.html">&lt;GlobalNamingResources&gt;</a>
     child element of the <a href="config/server.html">&lt;Server&gt;</a>
     element.</li>
+<li><a href="config/context.html#Transaction">&lt;Transaction&gt;</a>
-
+    Add a resource factory for instantiating the UserTransaction object 
+    instance that is available at <code>java:comp/UserTransaction</code>.</li>
 
 </ul>
 



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message