Author: buildbot
Date: Tue Mar 10 19:20:03 2015
New Revision: 943226

Log:
Staging update by buildbot for felix

Modified:
    websites/staging/felix/trunk/content/   (props changed)
    
websites/staging/felix/trunk/content/documentation/subprojects/apache-felix-dependency-manager-4/guides/resources.html

Propchange: websites/staging/felix/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Tue Mar 10 19:20:03 2015
@@ -1 +1 @@
-1665651
+1665654

Modified: 
websites/staging/felix/trunk/content/documentation/subprojects/apache-felix-dependency-manager-4/guides/resources.html
==============================================================================
--- 
websites/staging/felix/trunk/content/documentation/subprojects/apache-felix-dependency-manager-4/guides/resources.html
 (original)
+++ 
websites/staging/felix/trunk/content/documentation/subprojects/apache-felix-dependency-manager-4/guides/resources.html
 Tue Mar 10 19:20:03 2015
@@ -70,8 +70,8 @@
       <h1>Resources</h1>
       <p>Resource adapters are a special type of adapters which can adapt a 
resource into an OSGi service. These resources can be all kinds of resources, 
e.g. bundle resources, files, database records, anything as long as it can be 
resolved though a URL.</p>
 <p>The diagram below illustrates the classes involved in the resource adapter 
pattern:</p>
-<p><img src="./diagrams/resources.png" alt="Resource adapters" style="width: 
780px"/>
-The yellow elements have to be implemented in order to use the pattern.</p>
+<p><img src="./diagrams/resources.png" alt="Resource adapters" style="width: 
780px"/></p>
+<p>The yellow elements have to be implemented in order to use the pattern.</p>
 <p>A resource adapter is configured as follows:</p>
 <p><code>manager.add(createResourceAdapter("*.MF", true, null, "changed")
                 .setImplementation(ManifestAdapter.class));</code></p>
@@ -146,7 +146,7 @@ public class BundleResourceRepositoryImp
 <p>When a new handler is being added, the resource repository should inform 
the resource handler on the resources it has that match the handler's filter or 
url. This is done by invoking the <code>added(url, properties)</code> method on 
the ResourceHandler. This callback results in the ResourceAdapter's 
ResourceDependency being satisfied, the url being injected into the resource 
adapter implementation object and the resource adapter implementation component 
being started.</p>
 <p>Besides the added() callback the resource repository is also responsible 
for handling the changed() and removed() methods on change or removal of the 
resource from the resource repository. For a bundle resource repository that's 
not likely to happen, but for a filesystem resource repository this can very 
well be the case.</p>
       <div class="timestamp" style="margin-top: 30px; font-size: 80%; 
text-align: right;">
-        Rev. 1665651 by uiterlix on Tue, 10 Mar 2015 19:18:28 +0000
+        Rev. 1665654 by uiterlix on Tue, 10 Mar 2015 19:19:49 +0000
       </div>
       <div class="trademarkFooter"> 
         Apache Felix, Felix, Apache, the Apache feather logo, and the Apache 
Felix project


Reply via email to