On Fri, Aug 6, 2010 at 1:40 PM, Vidar Ramdal <[email protected]> wrote: > ...In principle, all you need to do is have a string constant annotated > as @scr.property (or @Property if you're using the 'real' > annotations). Then create local variables to store the property > values. These values are fetchted from the Felix ConfigAdmin on > component activation....
I just did that this morning for the bgservlets module, if you look at [1] you'll get an example of how to make things configurable, using the "modern" annotations. Again, you don't need properties files for configs. -Bertrand [1] http://svn.apache.org/viewvc?view=revision&revision=982920
