Author: buildbot
Date: Tue Oct  9 14:48:23 2018
New Revision: 1036203

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/reference/dependency-resource.html

Propchange: websites/staging/felix/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Tue Oct  9 14:48:23 2018
@@ -1 +1 @@
-1843295
+1843296

Modified: 
websites/staging/felix/trunk/content/documentation/subprojects/apache-felix-dependency-manager/reference/dependency-resource.html
==============================================================================
--- 
websites/staging/felix/trunk/content/documentation/subprojects/apache-felix-dependency-manager/reference/dependency-resource.html
 (original)
+++ 
websites/staging/felix/trunk/content/documentation/subprojects/apache-felix-dependency-manager/reference/dependency-resource.html
 Tue Oct  9 14:48:23 2018
@@ -90,7 +90,8 @@ h2:hover > .headerlink, h3:hover > .head
 h2:hover > .headerlink, h3:hover > .headerlink, h1:hover > .headerlink, 
h6:hover > .headerlink, h4:hover > .headerlink, h5:hover > .headerlink, 
dt:hover > .elementid-permalink { visibility: visible }</style>
 <p>A resource dependency allows you to depend on a resource. A resource is a 
URL and you can use a filter 
 condition based on protocol, host, port, path and URL.</p>
-<p>To depend on a resource URL, you can use the createResourceDependency 
method from the <a 
href="http://felix.staging.apache.org/apidocs/dependencymanager/r12/org/apache/felix/dm/Component.html";>Component
 interface</a>.</p>
+<p>To define a resource dependency, you need to use the <a 
href="http://felix.staging.apache.org/apidocs/dependencymanager/r12/org/apache/felix/dm/ResourceDependency.html";>ResourceDependecy</a>
 interface.
+This interface can be created using 
DependencyActivatorBase.createResourceDependency() or 
DependencyManager.createResourceDependency() methods;</p>
 <p>Here is an example where a bundle activation declares a VideoPlayer 
component which depends on a resource URL.
 The component uses an optional dependency callback, which is invoked each time 
an URL is registered.</p>
 <div class="codehilite"><pre><span class="kd">public</span> <span 
class="kd">class</span> <span class="nc">Activator</span> <span 
class="kd">extends</span> <span class="n">DependencyActivatorBase</span> <span 
class="o">{</span>
@@ -175,7 +176,7 @@ The component uses an optional dependenc
     <span class="o">}</span>
 </pre></div>
       <div class="timestamp" style="margin-top: 30px; font-size: 80%; 
text-align: right;">
-        Rev. 1843272 by pderop on Tue, 9 Oct 2018 13:35:58 +0000
+        Rev. 1843296 by pderop on Tue, 9 Oct 2018 14:48:07 +0000
       </div>
       <div class="trademarkFooter"> 
         Apache Felix, Felix, Apache, the Apache feather logo, and the Apache 
Felix project


Reply via email to