incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r895230 - in /websites/staging/sling/trunk/content: ./ documentation/bundles/models.html
Date Thu, 23 Jan 2014 15:13:32 GMT
Author: buildbot
Date: Thu Jan 23 15:13:31 2014
New Revision: 895230

Log:
Staging update by buildbot for sling

Modified:
    websites/staging/sling/trunk/content/   (props changed)
    websites/staging/sling/trunk/content/documentation/bundles/models.html

Propchange: websites/staging/sling/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Thu Jan 23 15:13:31 2014
@@ -1 +1 @@
-1560491
+1560710

Modified: websites/staging/sling/trunk/content/documentation/bundles/models.html
==============================================================================
--- websites/staging/sling/trunk/content/documentation/bundles/models.html (original)
+++ websites/staging/sling/trunk/content/documentation/bundles/models.html Thu Jan 23 15:13:31
2014
@@ -280,6 +280,8 @@
 
 
 <p>When a resource is adapted to <code>MyModel</code>, a child resource
named <code>image</code> is automatically adapted to an instance of <code>ImageModel</code>.</p>
+<h1 id="custom-injectors">Custom Injectors</h1>
+<p>To create a custom injector, simply implement the <code>org.apache.sling.models.spi.Injector</code>
interface and register your implementation with the OSGi service registry. Please refer to
the standard injectors in <a href="http://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl/src/main/java/org/apache/sling/models/impl/injectors/">Subversion</a>
for examples.</p>
 <h1 id="annotation-reference">Annotation Reference</h1>
 <dl>
 <dt><code>@Model</code></dt>
@@ -351,7 +353,7 @@
 </tbody>
 </table>
       <div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
-        Rev. 1560491 by justin on Wed, 22 Jan 2014 19:33:08 +0000
+        Rev. 1560710 by justin on Thu, 23 Jan 2014 15:13:22 +0000
       </div>
       <div class="trademarkFooter"> 
         Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project



Mime
View raw message