Author: buildbot
Date: Fri Apr 15 15:45:40 2016
New Revision: 985742
Log:
Staging update by buildbot for sling
Modified:
websites/staging/sling/trunk/content/ (props changed)
websites/staging/sling/trunk/content/documentation/bundles/scripting/scripting-sightly.html
Propchange: websites/staging/sling/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Fri Apr 15 15:45:40 2016
@@ -1 +1 @@
-1739321
+1739323
Modified:
websites/staging/sling/trunk/content/documentation/bundles/scripting/scripting-sightly.html
==============================================================================
---
websites/staging/sling/trunk/content/documentation/bundles/scripting/scripting-sightly.html
(original)
+++
websites/staging/sling/trunk/content/documentation/bundles/scripting/scripting-sightly.html
Fri Apr 15 15:45:40 2016
@@ -171,7 +171,7 @@ h2:hover > .headerlink, h3:hover > .head
</li>
</ol>
-<p>The Sightly implementation from Sling provides the basic POJO support
through the <a
href="https://github.com/apache/sling/blob/trunk/bundles/scripting/sightly/engine/src/main/java/org/apache/sling/scripting/sightly/pojo/Use.java"><code>org.apache.sling.scripting.sightly.pojo.Use</code></a>
interface and the <a
href="https://github.com/apache/sling/blob/trunk/bundles/scripting/sightly/engine/src/main/java/org/apache/sling/scripting/sightly/impl/engine/extension/use/JavaUseProvider.java"><code>org.apache.sling.scripting.sightly.impl.engine.extension.use.JavaUseProvider</code></a>,
whereas the <code>use</code> function is implemented by the
<code>org.apache.sling.scripting.sightly.js.provider</code> bundle.</p>
+<p>The Sightly implementation from Sling provides the basic POJO support
through the <a
href="https://github.com/apache/sling/blob/trunk/bundles/scripting/sightly/engine/src/main/java/org/apache/sling/scripting/sightly/pojo/Use.java"><code>org.apache.sling.scripting.sightly.pojo.Use</code></a>
interface and the<a
href="https://github.com/apache/sling/blob/trunk/bundles/scripting/sightly/engine/src/main/java/org/apache/sling/scripting/sightly/impl/engine/extension/use/JavaUseProvider.java"><code>JavaUseProvider</code></a>,
whereas the <code>use</code> function is implemented by the
<code>org.apache.sling.scripting.sightly.js.provider</code> bundle.</p>
<p>However, the Sling implementation provides a few extensions to the
Use-API.</p>
<h2 id="sling-specific-use-api-extensions">Sling-specific Use-API Extensions<a
class="headerlink" href="#sling-specific-use-api-extensions" title="Permanent
link">¶</a></h2>
<p>A full Sightly installation provides the following Use Providers, in the
order of their priority (the higher the service ranking value, the higher the
priority):</p>
@@ -205,7 +205,7 @@ h2:hover > .headerlink, h3:hover > .head
<td><a
href="https://github.com/apache/sling/blob/trunk/bundles/scripting/sightly/engine/src/main/java/org/apache/sling/scripting/sightly/impl/engine/extension/use/JavaUseProvider.java"><code>JavaUseProvider</code></a></td>
<td><code>org.apache.sling.scripting.sightly</code></td>
<td>support for loading Java objects such as: <ol><li>OSGi
services</li><li>POJOs adaptable from <code>SlingHttpServletRequest</code> or
<code>Resource</code></li><li>POJOs that implement
<code>Use</code></li></ol></td>
-<td></td>
+<td>The POJOs can be be exported by bundles or can be backed by
<code>Resources</code>. In the latter case the POJOs' package names should
correspond to the backing resource's path; invalid Java characters which are
valid path elements should be replaced by an underscore (<code>_</code>).</td>
</tr>
<tr>
<td>80</td>
@@ -224,7 +224,7 @@ h2:hover > .headerlink, h3:hover > .head
</tbody>
</table>
<div class="timestamp" style="margin-top: 30px; font-size: 80%;
text-align: right;">
- Rev. 1739321 by radu on Fri, 15 Apr 2016 15:35:21 +0000
+ Rev. 1739323 by radu on Fri, 15 Apr 2016 15:45:32 +0000
</div>
<div class="trademarkFooter">
Apache Sling, Sling, Apache, the Apache feather logo, and the Apache
Sling project