On 2017-06-04T13:04:12 +0200 Felix Meschberger <fmesc...@gmail.com> wrote:
> Hi Mark > > I assume your configurator is creating the configuraiton with: > > > final Configuration config = > > this.configurations.getConfiguration( > > "com.io7m.callisto.stringtables.main.provider“) > > If this is the case, this new configuration is bound to the configurator’s > bundle, which IIUIC is the same bundle also containing the Example component. I see. > Thus the Example component gets the configuration being in the same bundle, > but the provider does not as it is in another bundle. > > You might want to try to use the two-parameter getConfiguration method using > null (no location) as the second parameter to make sure the configuration is > not bound at the time of creation — but later when it is first provided to > the consumer > Yes, this worked! Thanks. I have to admit, I'm not exactly sure what's happening here. The R6 compendium spec mentions that location binding is a security feature (104.4.1), but it then uses terms like "management bundle" without actually explaining what that is. M
pgpUKPw0k2oCt.pgp
Description: OpenPGP digital signature
_______________________________________________ OSGi Developer Mail List osgi-dev@mail.osgi.org https://mail.osgi.org/mailman/listinfo/osgi-dev