Skip to main content

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


I'm a little confused about what you're asking.  With Declarative Services it is generally not necessary to write any ConfigurationAdmin code because ConfigurationAdmin is already built in to Declarative services.  Every Service Component can be configured using ConfigurationAdmin - see the OSGi R4 compendium section 112.6.

Hope this helps,
Roy

-----------------------------------------
Roy Paterson
IBM Pervasive Computing
Austin, TX
Phone: (512) 838-8898



Cameron Ross <cross@xxxxxxxxxxxxxxxx>
Sent by: equinox-dev-bounces@xxxxxxxxxxx

06/28/2006 10:21 AM

Please respond to
Equinox development mailing list <equinox-dev@xxxxxxxxxxx>

To
equinox-dev@xxxxxxxxxxx
cc
Subject
[equinox-dev] ConfigurationAdmin,        declarative services and property propagation.





Hi,

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?

Cameron.
_______________________________________________
equinox-dev mailing list
equinox-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/equinox-dev


Back to the top