Hi, On 06.08.2010 12:21, Federico Paparoni wrote: > Hi Vidar, > > 2010/8/5 Vidar Ramdal <[email protected]> > >> On Thu, Aug 5, 2010 at 10:44 AM, Federico Paparoni >> <[email protected]> wrote: >>> 2010/8/5 Vidar Ramdal <[email protected]> >>>> >>>> >>>> What are the properties for? Configuration of your components? >>>> If so, I'd use the OSGi configuration support, which will make the >>>> configuration available in the Felix Web Console. >>>> >>>> >>> Yes configuration for the components and anyway I would like to show in >>> David the best way to handle properties (hard coded String are useful >> only >>> to show examples :P) >> >> Then OSGi configurations are definately the way to go. >> >> > These properties are available through the BundleContext object I can > retrieve from the ComponentContext.
Actually it is ComponentContext.getProperties() The properties available from BundleContext.getProperty() are so-called framework properties and are not backed by the Configuration Admin service but are global-properties. Regards Felix
