Re: [osgi-dev] Create instance of factory configuration at runtime

2017-12-15 Thread Michael Wirth via osgi-dev
2017 9:00 AM To: Leschke, Scott; OSGi Developer Mail List Subject: Re: [osgi-dev] Create instance of factory configuration at runtime Hi Scott, to point 2) about 2-3 years ago I had a similar problem. The 'solution' was to create a configuration file (with the properties) in the 'felix.fil

Re: [osgi-dev] Create instance of factory configuration at runtime

2017-12-15 Thread Leschke, Scott via osgi-dev
t From: Tim Ward [mailto:tim.w...@paremus.com] Sent: Saturday, December 09, 2017 3:04 AM To: Leschke, Scott; OSGi Developer Mail List Subject: Re: [osgi-dev] Create instance of factory configuration at runtime Hi Scott, That does work, but Configuration Admin has an old feature called locat

Re: [osgi-dev] Create instance of factory configuration at runtime

2017-12-15 Thread Michael Wirth via osgi-dev
us.com] Sent: Saturday, December 09, 2017 3:04 AM To: Leschke, Scott; OSGi Developer Mail List Subject: Re: [osgi-dev] Create instance of factory configuration at runtime Hi Scott, That does work, but Configuration Admin has an old feature called location binding. This feature prevents a configuration bei

Re: [osgi-dev] Create instance of factory configuration at runtime

2017-12-14 Thread Sascha Homeier via osgi-dev
eate a new service, you don’t get a .cfg file. > > Scott > > From: Tim Ward [mailto:tim.w...@paremus.com <mailto:tim.w...@paremus.com>] > Sent: Saturday, December 09, 2017 3:04 AM > To: Leschke, Scott; OSGi Developer Mail List > Subject: Re: [osgi-dev] Create inst

Re: [osgi-dev] Create instance of factory configuration at runtime

2017-12-13 Thread Leschke, Scott via osgi-dev
[mailto:tim.w...@paremus.com] Sent: Saturday, December 09, 2017 3:04 AM To: Leschke, Scott; OSGi Developer Mail List Subject: Re: [osgi-dev] Create instance of factory configuration at runtime Hi Scott, That does work, but Configuration Admin has an old feature called location binding. This feature

Re: [osgi-dev] Create instance of factory configuration at runtime

2017-12-09 Thread Tim Ward via osgi-dev
Hi Scott, That does work, but Configuration Admin has an old feature called location binding. This feature prevents a configuration being delivered to bundles other than the bundle with the specified bundle location. The one-arg version of createFactoryConfiguration that you’re using defaults

[osgi-dev] Create instance of factory configuration at runtime

2017-12-08 Thread Leschke, Scott via osgi-dev
How does one create a new instance of a factory configuration programmatically? I thought it was like ConfigurationAdmin ca; ca.createFactoryConfiguration("my.configuration.pid").update(newServiceProps); but that doesn't seem to work for me. Thanks in advance, Scott