Re: [osgi-dev] Declarative Services - Idea

2015-03-22 Thread Florian Pirchner
Hi, thanks a lot for your mails. And i agree. It was not a good idea ;) Sepcially adding a method to the context for DS was really bad. Thanks a lot for clearing things up. best, Florian Am 19.03.15 um 18:06 schrieb Peter Kriens: So you want to use DS functionality without DS? Isn't

Re: [osgi-dev] Declarative Services - Idea

2015-03-19 Thread Peter Kriens
So you want to use DS functionality without DS? Isn't that an archetypical example of eating your cake and having it too? :-) Kind regards, Peter Kriens On 18 mrt. 2015, at 18:50, Florian Pirchner florian.pirch...@gmail.com wrote: Hey, i got an idea for a nice DS enhancement.

[osgi-dev] Declarative Services - Idea

2015-03-18 Thread Florian Pirchner
Hey, i got an idea for a nice DS enhancement. I am using DS a lot. And sometimes google.Guice too. And indeed there are some usecases where these features can be combined. Using DS i sometimes a miss a method, that injects (wires) all references according the component definition xml for classes

Re: [osgi-dev] Declarative Services - Idea

2015-03-18 Thread chris . gray
Hi Florian, It's the SCR which picks up those XML files when the bundle containing them is installed, and therefore knows what service interfaces it should be listening for and which components need to be injected with those services when they appear (and to de-inject them when they disappear).

Re: [osgi-dev] Declarative Services - Idea

2015-03-18 Thread BJ Hargrave
osgi-dev-boun...@mail.osgi.org wrote on 2015/03/18 13:50:40: From: Florian Pirchner florian.pirch...@gmail.com i got an idea for a nice DS enhancement. I am using DS a lot. And sometimes google.Guice too. And indeed there are some usecases where these features can be combined. Using DS i