Hi Somehow this comes up every now and then and I am always lost finding the definitive answer ...
Situation A - Configuration created with getConfiguration(pidA, null) - ConfigurationAdmin supplies to ManagedService MSA Situation B - Configuration created with getConfiguration(pidB, null) - consumer calls ConfigurationAdmin.getConfiguration(pidB) Situation C - Configuration created with getConfiguration(pidC) IIUIC Situation A creates a dynamic location binding to MSA's bundle. When the bundle is uninstalled, the location is reset to null. In Situation C, the location binding is static to the caller's bundle location. What about Situation B: On the one hand, the same API is used as in Situation C. Thus one might argue, this results in a static binding to the caller's bundle. On the other hand, one might argue, that this binding is dynamically set upon the first time it is used by a bundle. What is the correct answer in Situation B ? Static or Dynamic ? Thanks for clarification. Regards Felix PS: Apache Felix Configuration Admin currently implements static location binding in Situation B. There is also an issue reported against this implementation:https://issues.apache.org/jira/browse/FELIX-3360 _______________________________________________ OSGi Developer Mail List [email protected] https://mail.osgi.org/mailman/listinfo/osgi-dev
