Hi, PropertyFileConfigurationInitializer: * The naming scheme will assumes that the first dash (-) is the separator for service pid.Where as the naming scheme examples in chapter 104.3.1.3 for devices use dash extensively. * Config admin support values other than string. Should we address key naming scheme to differentiate the array, vector, number, long, short plus mapped values? * Should PropertyFileConfigurationInitializer polls the "net.tucana.osgi.service.config.base.dir" directory? that way, if any of the file is modified, we can automatically update the configuration admin.
Activator of net.tucana.osgi.impl.config: * I don't think "PropertyFileConfigurationInitializer" should be registered to OSGi container. Unless if this is used for "polling" purposes or being able to update configurations on runtime. * I'm not sure what does the ServiceTracker#addingService() is doing. Wouldn't this give random result i.e. if there is multiple [DefaultConfigurationInitializer] services registered to OSGi container? Note: There is config manager under pax/config-admin that does similar to this code. https://scm.ops4j.org/repos/ops4j/projects/pax/config-admin/configmanager Regards, Edward Yakop On 11/23/06, Benjamin Schmaus <[EMAIL PROTECTED]> wrote: > BTW, the link is > > https://scm.ops4j.org/repos/ops4j/laboratory/users/bschmaus > > and not > > https://scm.ops4j.org/repos/ops4j/laboratory/bschmaus > > I messed that up in the original post. > > On 11/22/06, Benjamin Schmaus <[EMAIL PROTECTED]> wrote: > > Hey Niclas. > > > > Yes, the service in this bundle runs in conjunction with OSGi's > > ConfigurationAdmin service. > > > > The README file under net.tucana.osgi.impl.config has more info. > > > > https://scm.ops4j.org/repos/ops4j/laboratory/users/bschmaus/net.tucana.osgi.impl.config/README > > > > I'm heading out of town for a couple of days on account of the > > Thanksgiving holiday, but I can give you some more info next week if > > you're interested. > > > > - Ben > > > > On 11/22/06, Niclas Hedhman <[EMAIL PROTECTED]> wrote: > > > On 11/22/06, Benjamin Schmaus <[EMAIL PROTECTED]> wrote: > > > > > > > I just committed some new bundles to: > > > > > > > > https://scm.ops4j.org/repos/ops4j/laboratory/bschmaus > > > > > > I have not checked this stuff yet (and about to fly to London shortly, > > > so...) but do these bundle operate in accordance with the > > > Configuration Admin service (ch 104, in the Compendium), if so how, or > > > is it some other mechanism? > > > > > > > > > Cheers > > > Niclas > > > > > > _______________________________________________ > > > general mailing list > > > general@lists.ops4j.org > > > http://lists.ops4j.org/mailman/listinfo/general > > > > > > > _______________________________________________ > general mailing list > general@lists.ops4j.org > http://lists.ops4j.org/mailman/listinfo/general > _______________________________________________ general mailing list general@lists.ops4j.org http://lists.ops4j.org/mailman/listinfo/general