AW: AW: AW: AW: AW: ComponentFactory

2019-03-28 Thread Matthias Leinweber
oin(" ", componentDescriptionDTO.configurationPid)) .filter(s -> s.startsWith("my.pre.fix"))... best regards, Matthias Von: David Jencks Gesendet: Dienstag, 26. März 2019 17:01:13 An: user@karaf.apache.org Betreff: Re: AW: AW: AW: AW: ComponentF

Re: AW: AW: AW: AW: ComponentFactory

2019-03-26 Thread David Jencks
uot;prop3", "foobar"); > cfg.update(testProp); > } > } > > And now i like to create some services from type A, some from type B and then > i like to change configurations of existing services. > > best regards, > Matthias > Von: Jean-Baptist

AW: AW: AW: AW: ComponentFactory

2019-03-26 Thread Matthias Leinweber
est regards, Matthias Von: Jean-Baptiste Onofré Gesendet: Dienstag, 26. März 2019 06:15:26 An: user@karaf.apache.org Betreff: Re: AW: AW: AW: ComponentFactory Hi Mathias, The factoryPid doesn't change: it's com.foo.bar. The configurationPid is based on

Re: AW: AW: AW: ComponentFactory

2019-03-25 Thread Jean-Baptiste Onofré
March 25, 2019 8:00:25 PM > *To:* user@karaf.apache.org > *Subject:* Re: AW: AW: AW: ComponentFactory >   > Mhm OK. > > I will try to explain what i want to achieve. > > My Plan was to create several ManagedserviceFac

Re: AW: AW: AW: ComponentFactory

2019-03-25 Thread Matthias Leinweber
... i can iterate over "my" servicefactories. From: Matthias Leinweber Sent: Monday, March 25, 2019 8:00:25 PM To: user@karaf.apache.org Subject: Re: AW: AW: AW: ComponentFactory Mhm OK. I will try to explain what i want to achieve. My Plan was

Re: AW: AW: AW: ComponentFactory

2019-03-25 Thread Matthias Leinweber
@karaf.apache.org Subject: Re: AW: AW: AW: ComponentFactory Not sure I follow you. What's the issue ? You have the factory and the configurations for the factory. Regards JB On 25/03/2019 18:54, Matthias Leinweber wrote: > Yes, > > > but i s

Re: AW: AW: AW: ComponentFactory

2019-03-25 Thread Jean-Baptiste Onofré
> > *Von:* Jean-Baptiste Onofré > *Gesendet:* Montag, 25. März 2019 18:36:17 > *An:* user@karaf.apache.org > *Betreff:* Re: AW: AW: ComponentFactory >   > Hi, > > you should have a config with Fa

AW: AW: AW: ComponentFactory

2019-03-25 Thread Matthias Leinweber
e... best regards, Matthias Von: Jean-Baptiste Onofré Gesendet: Montag, 25. März 2019 18:36:17 An: user@karaf.apache.org Betreff: Re: AW: AW: ComponentFactory Hi, you should have a config with FactoryPid as property right ? For instance, when I do config:list, I c

Re: AW: AW: ComponentFactory

2019-03-25 Thread Jean-Baptiste Onofré
list) are present. But the factory is not. > > I think i am still missing a basic concept? > > regards, > Matthias > > > *Von:* Jean-Baptiste Onofré > *Gesendet:* Montag, 25. März 2019 16:57:59

AW: AW: ComponentFactory

2019-03-25 Thread Matthias Leinweber
ation the configuration object (config:list) and the service (service:list) are present. But the factory is not. I think i am still missing a basic concept? regards, Matthias Von: Jean-Baptiste Onofré Gesendet: Montag, 25. März 2019 16:57:59 An: user@ka

Re: AW: ComponentFactory

2019-03-25 Thread Jean-Baptiste Onofré
Hi Matthias, as always, happy to help ;) config:list command/service is able to list the configuration (including the factories). Regards JB On 25/03/2019 16:07, Matthias Leinweber wrote: > Thank you very much. > > Thanks for the explanation, Tim. I simply thought that it is possible to > acce

AW: ComponentFactory

2019-03-25 Thread Matthias Leinweber
Thank you very much. Thanks for the explanation, Tim. I simply thought that it is possible to access the (newInstance) components with their configurationPid but it makes totally sense that this makes no sense ;) Also thank you for the decanter link, exactly what i was looking for. And my exam