You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by bu...@apache.org on 2015/01/16 11:08:16 UTC
svn commit: r936409 - in /websites/staging/sling/trunk/content: ./
documentation/bundles/datasource-providers.html
Author: buildbot
Date: Fri Jan 16 10:08:15 2015
New Revision: 936409
Log:
Staging update by buildbot for sling
Modified:
websites/staging/sling/trunk/content/ (props changed)
websites/staging/sling/trunk/content/documentation/bundles/datasource-providers.html
Propchange: websites/staging/sling/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Fri Jan 16 10:08:15 2015
@@ -1 +1 @@
-1652374
+1652375
Modified: websites/staging/sling/trunk/content/documentation/bundles/datasource-providers.html
==============================================================================
--- websites/staging/sling/trunk/content/documentation/bundles/datasource-providers.html (original)
+++ websites/staging/sling/trunk/content/documentation/bundles/datasource-providers.html Fri Jan 16 10:08:15 2015
@@ -90,11 +90,21 @@
<h1>DataSource Provider</h1>
- <p>DataSource provider bundle supports two type of DataSource</p>
-<ol>
-<li>Pooled Connection DataSource</li>
-<li>JNDI DataSource</li>
-</ol>
+ <p>DataSource provider bundle supports creation of <code>DataSource</code> instance and registering them with
+the OSGi service registry. Application using the DataSource just obtains it from OSGi while
+an administrator can configure the DataSource via Felix WebConsole configuration UI.</p>
+<div class="toc">
+<ul>
+<li><a href="#pooled-connection-datasource-provider">Pooled Connection DataSource Provider</a><ul>
+<li><a href="#driver-loading">Driver Loading</a></li>
+<li><a href="#configuration">Configuration</a></li>
+<li><a href="#convert-driver-jars-to-bundle">Convert Driver jars to Bundle</a></li>
+</ul>
+</li>
+<li><a href="#jndi-datasource">JNDI DataSource</a></li>
+<li><a href="#usage">Usage</a></li>
+</ul>
+</div>
<h2 id="pooled-connection-datasource-provider">Pooled Connection DataSource Provider</h2>
<p>This bundle enables creating and configuring JDBC DataSource in OSGi environment based on
OSGi configuration. It uses <a href="http://tomcat.apache.org/tomcat-7.0-doc/jdbc-pool.html">Tomcat JDBC Pool</a> as the JDBC Connection Pool provider.</p>
@@ -179,7 +189,7 @@ OSGi config.</p>
<span class="p">}</span>
</pre></div>
<div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
- Rev. 1652374 by chetanm on Fri, 16 Jan 2015 09:58:58 +0000
+ Rev. 1652375 by chetanm on Fri, 16 Jan 2015 10:08:09 +0000
</div>
<div class="trademarkFooter">
Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project