Hi!

Using Felix SCR...

I am trying to obtain a component’s properties object by:

  ConfigurationAdmin cm = {obtain the cm}
  Configuration componentConfig = cm.getConfiguration( componentPid );
  componentConfig.getProperties();

I can confirm that I am getting the correct Configuration object (when I add a 
property and update, it updates the component), however, I am getting a null 
result when I try to obtain the properties before doing an update, and an 
“incomplete” properties object after the update (containing only the 
service.pid property).

Am I misunderstanding what should happen? Or is my understanding correct, but I 
am for some reason not getting the correct result?


Thanks!
=David


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@felix.apache.org
For additional commands, e-mail: users-h...@felix.apache.org

Reply via email to