Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [e4-dev] OSGi, Contexts and DI

Oleg,

Am 25.10.2010 17:47, schrieb Oleg Besedin:
> In e4 injected values are dynamic; values that changed in the context
> get propagated into injected fields/methods. So, if OSGi strategy worked
> properly, the changes in the service implementations would be
> propagated. Also, we have the "@Optional" annotation which allows values
> not currently in the context to be injected as "null" and re-injected
> later when the values are added to the context.

What's your take on consuming OSGi service using the whiteboard pattern?
Should it inject a Iterable/Collection<MyService> each time the list
changes?

-Gunnar

-- 
Gunnar Wagenknecht
gunnar@xxxxxxxxxxxxxxx
http://wagenknecht.org/



Back to the top