DS is fully integrated with ConfigurationAdmin "out of the box" :-)



BJ Hargrave
Senior Technical Staff Member, IBM
OSGi Fellow and CTO of the OSGi Alliance
[EMAIL PROTECTED]
Office: +1 407 849 9117 Mobile: +1 386 848 3788


----- Original Message -----
From: "John E. Conlon" [EMAIL PROTECTED]
Sent: 06/02/2006 07:21 PM
To: [email protected]
Subject: ServiceBinder and configuration management

Have been using ServiceBinder to wrap components while experimenting
with the Configuration Admin service implementation that is in the
ApacheDS sandbox. ServiceBinder is cool but I am having problems
integrating its behavior with that of Configuration Admin.

When the configurations change in a backing store, the Configuration
Admin service will send those configuration changes to implementations
of ManagedService and ManagedServiceFactory.

My ServiceBinder component implements ManagedService so it receives
updates through the
updated(Dictionary configurationAdminProperties) method.

Thought that I could just update the ServiceBinders InstanceReference
properties to propagate these changes to the serviceRegistry, but
changing the InstanceReference properties has no effect on the
properties associated with my registered service. (With a handle to
ServiceRegistration I could set them there.)

How can I propagate these properties to the service registry from within
a serviceBinder component?

Does the Declarative Services already do this kind of integration with
Configuration Admin out of the box?

thanks any ideas,
John

Reply via email to