Yes, you have to register with the ManagedService interface, as
ConfigAdmin "listens" and filters on the interface.
Regards
JB
On 03/23/2015 02:29 AM, Pat Warren wrote:
I found the issue. It was with how the service was being registered.
I had:
context.registerService(CNListener.class.getName(), new CNListener(), dict);
Where CNListener implemented ManagedService
Turns out I have to register the service as follows:
context.registerService(ManagedService.class.getName(), new CNListener(),
dict);
--
View this message in context:
http://karaf.922171.n3.nabble.com/Karaf-3-0-3-ManagedService-updated-method-not-getting-called-tp4039197p4039214.html
Sent from the Karaf - Dev mailing list archive at Nabble.com.
--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com