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 2016/10/14 22:25:08 UTC

svn commit: r999447 - in /websites/staging/sling/trunk/content: ./ documentation/bundles/context-aware-configuration/context-aware-configuration-spi.html documentation/bundles/context-aware-configuration/context-aware-configuration.html

Author: buildbot
Date: Fri Oct 14 22:25:08 2016
New Revision: 999447

Log:
Staging update by buildbot for sling

Modified:
    websites/staging/sling/trunk/content/   (props changed)
    websites/staging/sling/trunk/content/documentation/bundles/context-aware-configuration/context-aware-configuration-spi.html
    websites/staging/sling/trunk/content/documentation/bundles/context-aware-configuration/context-aware-configuration.html

Propchange: websites/staging/sling/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Fri Oct 14 22:25:08 2016
@@ -1 +1 @@
-1764896
+1764991

Modified: websites/staging/sling/trunk/content/documentation/bundles/context-aware-configuration/context-aware-configuration-spi.html
==============================================================================
--- websites/staging/sling/trunk/content/documentation/bundles/context-aware-configuration/context-aware-configuration-spi.html (original)
+++ websites/staging/sling/trunk/content/documentation/bundles/context-aware-configuration/context-aware-configuration-spi.html Fri Oct 14 22:25:08 2016
@@ -136,17 +136,17 @@ h2:hover > .headerlink, h3:hover > .head
 </ul>
 <p>All existing implementations are iterated in order of their service ranking.</p>
 <h1 id="context-path-strategy">Context Path Strategy<a class="headerlink" href="#context-path-strategy" title="Permanent link">&para;</a></h1>
-<p>By providing an implementation of <code>org.apache.sling.contextaware.config.resource.spi.ContextPathStrategy</code> you can provide additional ways how context paths and their configuration references are detected in your content resource hierarchy.</p>
+<p>By providing an implementation of <code>org.apache.sling.caconfig.resource.spi.ContextPathStrategy</code> you can provide additional ways how context paths and their configuration references are detected in your content resource hierarchy.</p>
 <p>E.g. you could implement detecting context paths by project-specific conventions.</p>
 <h1 id="configuration-resource-resolver-strategy">Configuration Resource Resolver Strategy<a class="headerlink" href="#configuration-resource-resolver-strategy" title="Permanent link">&para;</a></h1>
-<p>By providing an implementation of <code>org.apache.sling.contextaware.config.resource.spi.ConfigurationResourceResolvingStrategy</code> you can define where configuration data is looked up, and how resource and property inheritance is handled.</p>
+<p>By providing an implementation of <code>org.apache.sling.caconfig.resource.spi.ConfigurationResourceResolvingStrategy</code> you can define where configuration data is looked up, and how resource and property inheritance is handled.</p>
 <h1 id="configuration-persistence-strategy">Configuration Persistence Strategy<a class="headerlink" href="#configuration-persistence-strategy" title="Permanent link">&para;</a></h1>
-<p>By providing an implementation of <code>org.apache.sling.contextaware.config.spi.ConfigurationPersistenceStrategy</code> you can define the peristence structure of the configuration within the configuration resources.</p>
+<p>By providing an implementation of <code>org.apache.sling.caconfig.spi.ConfigurationPersistenceStrategy</code> you can define the peristence structure of the configuration within the configuration resources.</p>
 <p>E.g. you could use a specific JCR node type or slightly different content structure to store the configuration data.</p>
 <h1 id="configuration-metadata-provider">Configuration Metadata Provider<a class="headerlink" href="#configuration-metadata-provider" title="Permanent link">&para;</a></h1>
-<p>By providing an implementation of <code>org.apache.sling.contextaware.config.spi.ConfigurationMetadataProvider</code> you can provide information about configuration metadata from other sources than annotation classes.</p>
+<p>By providing an implementation of <code>org.apache.sling.caconfig.spi.ConfigurationMetadataProvider</code> you can provide information about configuration metadata from other sources than annotation classes.</p>
       <div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
-        Rev. 1764894 by sseifert on Fri, 14 Oct 2016 13:37:54 +0000
+        Rev. 1764991 by sseifert on Fri, 14 Oct 2016 22:24:50 +0000
       </div>
       <div class="trademarkFooter"> 
         Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project

Modified: websites/staging/sling/trunk/content/documentation/bundles/context-aware-configuration/context-aware-configuration.html
==============================================================================
--- websites/staging/sling/trunk/content/documentation/bundles/context-aware-configuration/context-aware-configuration.html (original)
+++ websites/staging/sling/trunk/content/documentation/bundles/context-aware-configuration/context-aware-configuration.html Fri Oct 14 22:25:08 2016
@@ -151,7 +151,7 @@ The service for getting the configuratio
 <li>getting all child resources of a named configuration resource.</li>
 </ul>
 <p>For example to get a configuration resource for a content resource at /content/mysite/page1, you would get a reference to the OSGi service
-<code>org.apache.sling.contextaware.config.resource.ConfigurationResourceResolver</code> and write:</p>
+<code>org.apache.sling.caconfig.resource.ConfigurationResourceResolver</code> and write:</p>
 <table class="codehilitetable"><tr><td class="linenos"><div class="linenodiv"><pre>1
 2
 3</pre></div></td><td class="code"><div class="codehilite"><pre><span class="n">Resource</span> <span class="n">contentResource</span> <span class="o">=</span> <span class="n">resourceResolver</span><span class="o">.</span><span class="na">getResource</span><span class="o">(</span><span class="s">&quot;/content/mysite/page1&quot;</span><span class="o">);</span>
@@ -174,7 +174,7 @@ the most common use case is some configu
 and the context-aware configuration support automatically converts resources into the wanted configuration type.</p>
 <p>Context-aware configurations are built on top of context-aware resources. The same concept is used: configurations are
 named and the service to get them is the ConfigurationResolver. You can get a reference to the OSGi service
-<code>org.apache.sling.contextaware.config.ConfigurationResolver</code> - it has a single method to get a ConfigurationBuilder.
+<code>org.apache.sling.caconfig.ConfigurationResolver</code> - it has a single method to get a ConfigurationBuilder.
 Alternatively you can directly adapt your content resource directly to the ConfigurationBuilder interface and get the configuration:</p>
 <table class="codehilitetable"><tr><td class="linenos"><div class="linenodiv"><pre>1
 2
@@ -264,13 +264,13 @@ the applications/libraries you use, or y
     <span class="nt">&lt;configuration&gt;</span>
         <span class="nt">&lt;instructions&gt;</span>
             <span class="c">&lt;!-- Generate bundle header containing all configuration annotation classes --&gt;</span>
-            <span class="nt">&lt;_plugin&gt;</span>org.apache.sling.contextaware.config.bndplugin.ConfigurationClassScannerPlugin<span class="nt">&lt;/_plugin&gt;</span>
+            <span class="nt">&lt;_plugin&gt;</span>org.apache.sling.caconfig.bndplugin.ConfigurationClassScannerPlugin<span class="nt">&lt;/_plugin&gt;</span>
         <span class="nt">&lt;/instructions&gt;</span>
     <span class="nt">&lt;/configuration&gt;</span>
     <span class="nt">&lt;dependencies&gt;</span>
         <span class="nt">&lt;dependency&gt;</span>
             <span class="nt">&lt;groupId&gt;</span>org.apache.sling<span class="nt">&lt;/groupId&gt;</span>
-            <span class="nt">&lt;artifactId&gt;</span>org.apache.sling.contextaware.config.bnd-plugin<span class="nt">&lt;/artifactId&gt;</span>
+            <span class="nt">&lt;artifactId&gt;</span>org.apache.sling.caconfig.bnd-plugin<span class="nt">&lt;/artifactId&gt;</span>
             <span class="nt">&lt;version&gt;</span>1.0.0<span class="nt">&lt;/version&gt;</span>
         <span class="nt">&lt;/dependency&gt;</span>
     <span class="nt">&lt;/dependencies&gt;</span>
@@ -288,7 +288,7 @@ the applications/libraries you use, or y
 <li><a href="https://adapt.to/2016/en/schedule/sling-context-aware-configuration.html">Sling Context-Aware Configuration - Talk from adaptTo() 2016</a></li>
 </ul>
       <div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
-        Rev. 1764894 by sseifert on Fri, 14 Oct 2016 13:37:54 +0000
+        Rev. 1764991 by sseifert on Fri, 14 Oct 2016 22:24:50 +0000
       </div>
       <div class="trademarkFooter"> 
         Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project