You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by pd...@apache.org on 2018/10/09 14:46:36 UTC

svn commit: r1843295 - /felix/site/trunk/content/documentation/subprojects/apache-felix-dependency-manager/reference/dependency-configuration.mdtext

Author: pderop
Date: Tue Oct  9 14:46:36 2018
New Revision: 1843295

URL: http://svn.apache.org/viewvc?rev=1843295&view=rev
Log:
dm r12 updates

Modified:
    felix/site/trunk/content/documentation/subprojects/apache-felix-dependency-manager/reference/dependency-configuration.mdtext

Modified: felix/site/trunk/content/documentation/subprojects/apache-felix-dependency-manager/reference/dependency-configuration.mdtext
URL: http://svn.apache.org/viewvc/felix/site/trunk/content/documentation/subprojects/apache-felix-dependency-manager/reference/dependency-configuration.mdtext?rev=1843295&r1=1843294&r2=1843295&view=diff
==============================================================================
--- felix/site/trunk/content/documentation/subprojects/apache-felix-dependency-manager/reference/dependency-configuration.mdtext (original)
+++ felix/site/trunk/content/documentation/subprojects/apache-felix-dependency-manager/reference/dependency-configuration.mdtext Tue Oct  9 14:46:36 2018
@@ -1,6 +1,11 @@
 Title: Dependency Manager - Configuration Dependency
 
-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 `ManagedService` yourself.
+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.
+
+To define a configuration dependency, you need to use the [ConfigurationDependency](http://felix.staging.apache.org/apidocs/dependencymanager/r12/org/apache/felix/dm/ConfigurationDependency.html) interface.
+This interface can be created using DependencyActivatorBase.createConfigurationDependency() or DependencyManager.createConfigurationDependency() methods.
+
 
 The dependency injects by default the configuration in an "updated" callback which can accept the following parameters: