felix-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pierre De Rop <pierre.de...@gmail.com>
Subject Re: configadmin: no visibility to configuration
Date Tue, 10 Sep 2013 10:12:56 GMT
Hi Jean-Philippe,

in addition to the responses made by Felix and Roland, you can also refer
to configuration admin specification, especially in the chapter 104.4.1 of
the 4.3 OSGi compendium, which explains what is a configuration location
binding (the second parameter of the getConfiguration(String pid, String
location) method).

best regards;
/Pierre


On Tue, Sep 10, 2013 at 12:04 PM, Roland <wgl@ids.de> wrote:

> Hi,
> I assume you try to configure a service that was created by another bundle.
> The bundle which creates the configuration has no visibility to the
> service.
>
> Try to use one of the following:
>
> getConfiguration(pid, "?");
>
> createFactoryConfiguration(msf, "?");
>
> or
>
> getConfiguration(pid, null);
>
> createFactoryConfiguration(msf, null);
>
> Regards
> Roland
>
>
>
> --
> View this message in context:
> http://apache-felix.18485.x6.nabble.com/configadmin-no-visibility-to-configuration-tp5004904p5004906.html
> Sent from the Apache Felix - Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message