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:46:53 UTC
svn commit: r1036202 - in /websites/staging/felix/trunk/content: ./
documentation/subprojects/apache-felix-dependency-manager/reference/dependency-configuration.html
Author: buildbot
Date: Tue Oct 9 14:46:53 2018
New Revision: 1036202
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-configuration.html
Propchange: websites/staging/felix/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Tue Oct 9 14:46:53 2018
@@ -1 +1 @@
-1843294
+1843295
Modified: websites/staging/felix/trunk/content/documentation/subprojects/apache-felix-dependency-manager/reference/dependency-configuration.html
==============================================================================
--- websites/staging/felix/trunk/content/documentation/subprojects/apache-felix-dependency-manager/reference/dependency-configuration.html (original)
+++ websites/staging/felix/trunk/content/documentation/subprojects/apache-felix-dependency-manager/reference/dependency-configuration.html Tue Oct 9 14:46:53 2018
@@ -88,7 +88,10 @@ h2:hover > .headerlink, h3:hover > .head
visibility: hidden;
}
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 configuration dependency is always required, and allows you to depend on the availability of a valid configuration for your component. Optional configuration dependencies are not supported because in that case you can just as well register as a <code>ManagedService</code> yourself.</p>
+<p>A configuration dependency is always required, and allows you to depend on the availability of a valid
+configuration for your component. Configuration dependency is required by default.</p>
+<p>To define a configuration dependency, you need to use the <a href="http://felix.staging.apache.org/apidocs/dependencymanager/r12/org/apache/felix/dm/ConfigurationDependency.html">ConfigurationDependency</a> interface.
+This interface can be created using DependencyActivatorBase.createConfigurationDependency() or DependencyManager.createConfigurationDependency() methods.</p>
<p>The dependency injects by default the configuration in an "updated" callback which can accept the following parameters:</p>
<ul>
<li><code>updated(Dictionary)</code></li>
@@ -179,7 +182,7 @@ As proxies are injected, no implementati
<span class="o">}</span>
</pre></div>
<div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
- Rev. 1843271 by pderop on Tue, 9 Oct 2018 13:35:50 +0000
+ Rev. 1843295 by pderop on Tue, 9 Oct 2018 14:46:36 +0000
</div>
<div class="trademarkFooter">
Apache Felix, Felix, Apache, the Apache feather logo, and the Apache Felix project