Yes, but unfortunately this is not yet implemented in the Felix version.
I'd like to encourage people to give me a hand with the DS
implementation since I have not received much feedback since I uploaded
it. Bug comments are welcome, however, I would like to invite people to
work on the implementation itself because at the moment I am unable to
work on it (and right now I don't see when I will have some free time to
work on it).
Best regards,
Humberto
BJ Hargrave wrote:
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
--
------------------------------------------------------
Humberto Cervantes <[EMAIL PROTECTED]>
Web: http://www.humbertocervantes.net
Universidad Autonoma Metropolitana-Iztapalapa,
San Rafael Atlixco Nº 186, Col. Vicentina, C.P. 09340
Delegación Iztapalapa. Distrito Federal, Mexico
Tel: (52) 55 5804 4634 ext 211
------------------------------------------------------