Thanks Felix, that helped! David
2008/5/14 Felix Meschberger <[EMAIL PROTECTED]>: > Hi David, > > Am Mittwoch, den 14.05.2008, 14:38 +0100 schrieb David Bosschaert: >> Hi all, >> >> I started using the Felix Configuration Admin Service but could not >> find any information on how to actually supply the Config Admin with >> configuration information so that it calls updated() with some >> meaningful information on my ManagedServices. I think this can be done >> through code, but is there also another way to provide the config >> admin with its data? E.g. via a properties file, some UI or something? > > Yes, the primary way is by code: You call the > ConfigurationAdmin.getConfiguration method and on the returned > Configuration object you call the update(Dictionary) methods to set the > configuration. This causes the updated() method of the respective > ManagedService to be called. > > Another option for providing the configuration are the fileinstall > bundle, which takes configuration files from defined filesystem > locations (.cfg files) and loads them into the ConfigurationAdmin. > > Finally, there is the OSGi Console (formerly known as the Sling > Management Console), which is a web-based tool allowing amongst other > things to manage Configuration. The OSGi console is currently in the > process of IP Clearance and will be moved from the Apache Sling project > to the Felix project later this week. > > Hope this helps. > > Regards > Felix > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

