I have added an extra parameter in an array field of Properties file , which is not getting updated when using @updated annotation method . Please suggest the step by step procedure to use @updated ipojo annotation.
Asked
Active
Viewed 28 times
0
-
There is a probably a lot of context missing here, so the question is likely to close. What properties file are you referring to, and what does the manual say about this annotation? You've used a niche tag on its own, so you won't get many views (I've added Java, please change that to the lang you are using if that's wrong). – halfer Dec 28 '17 at 23:10
-
public void updatedConfig(Dictionary
config) { .. } the above method will be called whenever the configuration file (which should be in the karaf/etc folder and should be called – Gayathri Dec 29 '17 at 09:41.cfg) is modified . I have updated .cfg file , but @Updated method doesn't seem to be invoked .am i missing something? -
^ Please edit that information into the question, as a formatted block. I doubt that is enough information though. – halfer Dec 29 '17 at 10:12