Hi all,
I would like to hook into configuration change made in etc/* file. I put
configuration file there and when I change it, I see in Karaf's log the
change was picked up and also file was rewritten.
But, how is this hooked in from the Java class ?
I manual I've only found:
Dynamic Configuration: Apache Karaf provides a set of commands focused on
managing its own configuration. All configuration files are centralized in
the etc folder. Any change in a configuration file is noticed and reloaded.
Back at the scheduler I've seen this:
@Managed("org.apache.karaf.scheduler.quartz")
and implements org.osgi.service.cm.ManagedService
That has method void updated(Dictionary<String, ?> var1) throws
ConfigurationException;
this is great, but this method is not called.
Is there any example/code I can look at at take as an starting point?
Kind Regards,
Miroslav
--
Miroslav Beranič
MIBESIS
+386(0)40/814-843
[email protected]
http://www.mibesis.si