Hello, I am implementing a bit of code with Apache Felix and in a specific code block, I register multiple services, all with the same non-default service ranking.
I read the "registering services" part of the OSGi 4.3 specifications, and it seems to suggest that implementations will copy the service properties (changes to the properties object may not be applied, use setProperties() instead...). The wording does suggest though that this behavior is implementation-specific. Should I create a new Dictionary object for each service registered, or can I reuse the same instance? I'd prefer an authoritative answer as opposed to just observing behavior with a specific implementation. For example, if the implementation used the supplied properties internally, it could for example add the object class and service id ; if I reused the instance, things could get mixed up. Thanks, Christopher