java - How do I edit the property file that my osgi managed service implementation uses? -


i using apache felix osgi framework implementation. have class implementing managedservice in order properties file using configadmin service. able manually edit properties file , receive updates in managed service. how edit properties in file managed service? editing dictionary update method has no effect.

the configurationadmin service has 2 parts:

  1. the managedservice, component receives configuration.
  2. the configurationadmin service, can used set, update or delete configuration.

in other words, if want change own configuration, need talk configurationadmin service that.

by way, in spec there "file" holding configuration. configurationadmin decide how persist (in file, database, whatever). management of configurations goes through configurationadmin service.


Comments

Popular posts from this blog

javascript - how to protect a flash video from refresh? -

visual studio 2010 - Connect to informix database windows form application -

android - Associate same looper with different threads -