[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[equinox-dev] ConfigurationAdmin, declarative services and property propagation.


I have a declarative service that is also a ManagedService via the new ConfigurationAdmin found in the equinox incubator. The implementation seems to work fine. However, it is not clear to me how to implement property propagation, as defined on page 70-432 of the OSGi Service Platform Service Compendium (R4), for a declarative service. The spec recommends that properties updated through the ConfigurationAdmin service should be propagated to the managed service registration using ServiceRegistration.setProperties(...) . Declarative services encapsulate service registration, so how should properties be propagated?