Re: [osgi-dev] DS factory-type pattern

2018-07-09 Thread David Leangen via osgi-dev
t;> On Jul 4, 2018, at 14:45, Fauth Dirk (AA-AS/EIS2-EU) >>>>>> mailto:dirk.fa...@de.bosch.com>> wrote: >>>>>> >>>>>> Hi, >>>>>> >>>>>> not sure about your use case in detail, but it sounds l

Re: [osgi-dev] DS factory-type pattern

2018-07-09 Thread Tim Ward via osgi-dev
tisfies your need in a >>>>> more easy way. I explained that at the bottom of a blog post here: >>>>> http://blog.vogella.com/2016/09/26/configuring-osgi-declarative-services/ >>>>> <http://blog.vogella.com/2016/09/26/configuring-osgi-declarative-s

Re: [osgi-dev] DS factory-type pattern

2018-07-09 Thread David Leangen via osgi-dev
http://blog.vogella.com/2017/02/13/control-osgi-ds-component-instances/> >>>> >>>> From your question that you want to request one special instance, I >>>> suppose the target property on a reference is what you need, but there are >>>>

Re: [osgi-dev] DS factory-type pattern

2018-07-04 Thread David Leangen via osgi-dev
;>> >>> Mit freundlichen Grüßen / Best regards >>> >>> Dirk Fauth >>> >>> Automotive Service Solutions, ESI application (AA-AS/EIS2-EU) >>> Robert Bosch GmbH | Postfach 11 29 | 73201 Plochingen | GERMANY | >>> www.bosch.com <http://

Re: [osgi-dev] DS factory-type pattern

2018-07-04 Thread Fauth Dirk (AA-AS/EIS2-EU) via osgi-dev
n: Fauth Dirk (AA-AS/EIS2-EU) Cc: OSGi Developer Mail List Betreff: Re: [osgi-dev] DS factory-type pattern Thank you Dirk, those are very nice posts. I have come across these in the past and thought they were very informative. If I am not mistaken, each of the methods you mention requires a @Refe

Re: [osgi-dev] DS factory-type pattern

2018-07-04 Thread Christian Schneider via osgi-dev
Can you describe what you try to achieve with this? Maybe there is a different approach. Christian Am Mi., 4. Juli 2018 um 07:12 Uhr schrieb David Leangen via osgi-dev < osgi-dev@mail.osgi.org>: > > Hi, > > This may be another really dumb question… but is there a smart way to use > DS as a kind

Re: [osgi-dev] DS factory-type pattern

2018-07-04 Thread Tim Ward via osgi-dev
ender: Franz Fehrenbach; Geschäftsführung: Dr. Volkmar >> Denner, >> Prof. Dr. Stefan Asenkerschbaumer, Dr. Michael Bolle, Dr. Rolf Bulander, Dr. >> Stefan Hartung, Dr. Markus Heyn, >> Dr. Dirk Hoheisel, Christoph Kübel, Uwe Raschke, Peter Tyroller >> >> >> -Ursp

Re: [osgi-dev] DS factory-type pattern

2018-07-03 Thread David Leangen via osgi-dev
gt; > -Ursprüngliche Nachricht- > Von: osgi-dev-boun...@mail.osgi.org [mailto:osgi-dev-boun...@mail.osgi.org] > Im Auftrag von David Leangen via osgi-dev > Gesendet: Mittwoch, 4. Juli 2018 07:12 > An: osgi-dev@mail.osgi.org > Betreff: [osgi-dev] DS factory-type pattern >

Re: [osgi-dev] DS factory-type pattern

2018-07-03 Thread Fauth Dirk (AA-AS/EIS2-EU) via osgi-dev
: osgi-dev-boun...@mail.osgi.org [mailto:osgi-dev-boun...@mail.osgi.org] Im Auftrag von David Leangen via osgi-dev Gesendet: Mittwoch, 4. Juli 2018 07:12 An: osgi-dev@mail.osgi.org Betreff: [osgi-dev] DS factory-type pattern Hi, This may be another really dumb question… but is there a smart way

[osgi-dev] DS factory-type pattern

2018-07-03 Thread David Leangen via osgi-dev
Hi, This may be another really dumb question… but is there a smart way to use DS as a kind of factory? What I have been doing so far: * Creating a Configuration via ConfigurationAdmin (I need to configure my component first) * In the config, including a kind of “secret” so I know which is M