You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by bu...@apache.org on 2018/10/09 14:45:41 UTC
svn commit: r1036201 - in /websites/staging/felix/trunk/content: ./
documentation/subprojects/apache-felix-dependency-manager/reference/dependency-bundle.html
Author: buildbot
Date: Tue Oct 9 14:45:41 2018
New Revision: 1036201
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-bundle.html
Propchange: websites/staging/felix/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Tue Oct 9 14:45:41 2018
@@ -1 +1 @@
-1843292
+1843294
Modified: websites/staging/felix/trunk/content/documentation/subprojects/apache-felix-dependency-manager/reference/dependency-bundle.html
==============================================================================
--- websites/staging/felix/trunk/content/documentation/subprojects/apache-felix-dependency-manager/reference/dependency-bundle.html (original)
+++ websites/staging/felix/trunk/content/documentation/subprojects/apache-felix-dependency-manager/reference/dependency-bundle.html Tue Oct 9 14:45:41 2018
@@ -91,8 +91,8 @@ h2:hover > .headerlink, h3:hover > .head
<p>A bundle dependency allows you to depend on a bundle in a certain set of states, as indicated by a state mask.
You can also use a filter condition that is matched against all manifest entries. Finally you can provide a
reference to an existing bundle.</p>
-<p>To declare a bundle dependency, you need to use the createServiceDependency inherited from the DependencyActivatorBase, or available from the
-DependencyManager class.</p>
+<p>To define a bundle dependency, you need to use the <a href="http://felix.staging.apache.org/apidocs/dependencymanager/r12/org/apache/felix/dm/BundleDependency.html">BundleDependecy</a> interface.
+This interface can be created using DependencyActivatorBase.createBundleDependency() or DependencyManager.createBundleDependency() methods;</p>
<p>Here is an example of a component which tracks all ACTIVE bundles having a Service-Component header in the manifest:</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>
<span class="nd">@Override</span>
@@ -117,7 +117,7 @@ DependencyManager class.</p>
<p>The dependency is optional by default, and will invoke the ScrRuntime.bind callback each time a bundle containing some Declarative Service component is started.</p>
<div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
- Rev. 1843270 by pderop on Tue, 9 Oct 2018 13:35:41 +0000
+ Rev. 1843294 by pderop on Tue, 9 Oct 2018 14:45:24 +0000
</div>
<div class="trademarkFooter">
Apache Felix, Felix, Apache, the Apache feather logo, and the Apache Felix project