ConfigurationAdmin [message #125310] |
Thu, 29 January 2009 19:59 |
Jochen Mader Messages: 24 Registered: July 2009 |
Junior Member |
|
|
Can somebody please help me to make sense of the following behaviour?
Scenario 1:
I register a service from bundle A in its activator.
A service from bundle B now gets the Configuration for that service using
its PID.
I get the Configuration and after adding the properties to the Dictionary
I do an update.
The changes are not propagated to the service registered by A.
Scenario 2:
If I register the service from bundle A and also configure it in there
with some temporay values (getting the Configuration from
ConfigurationAdmin using its PID) and then try to configure it in Bundle
B the changes propagate.
Scenario 3:
In the last scenario I basically do the same as in Scenario 1 with the
difference that I use getConfiguration(PID, LOCATION) instead of
getConfiguration(PID).
I was unable to make any sense of this behaviour and it would be great if
someone could provide me with an explanation.
Thx
Jochen
|
|
|
Powered by
FUDForum. Page generated in 0.04240 seconds