Author: jawi
Date: Wed Feb 22 09:54:59 2017
New Revision: 1783995
URL: http://svn.apache.org/viewvc?rev=1783995&view=rev
Log:
CMS commit to felix by jawi
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=1783995&r1=1783994&r2=1783995&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
Wed Feb 22 09:54:59 2017
@@ -78,7 +78,7 @@ Here is the same example, but a custom c
}
public class ServiceImpl {
- void updated(MyConfig cnf) {
+ void modified(MyConfig cnf) {
if (cnf != null) {
String addr = cnf.getAddress();
int port = cnf.getPort();
@@ -92,7 +92,7 @@ Here is the same example, but a custom c
public void init(BundleContext ctx, DependencyManager dm) throws
Exception {
dm.add(createComponent()
.setImplementation(ServiceImpl.class)
- .add(createConfigurationDependency().setCallback("updated",
MyConfig.class);
+ .add(createConfigurationDependency().setCallback("modified",
MyConfig.class);
}
}