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

Hi Simon,

Simon Chemouil wrote on 2010/10/27 08:55:20:
>

> In any case, it's obvious it's gonna be a bit difficult to have the full
> scope of DS while still keeping same annotations and approach as E4's
> DI. I believe the goal should be to cover those main usages and if
> someone wants something special, they can get the BundleContext injected.

I couldn't agree more - you cannot offer a simple programming model if your goal is to cover all corner cases. In many other places in e4, we consciously decided to provide API for the common 80%-90% case only. For those who need their corner cases covered (the 10%-20% case), it is a perfectly reasonable answer to have to use a lower-level, more complex API.

Boris


Back to the top