Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: Re[2]: [equinox-dev] RequiresBundle, ImportPackage and virtual providers

> Proposal?

I guess that without the Service Layer you're at least doing no worse
than a conventional pre-JSR-291 application. Ie to avoid explicit
dependencies on implementation classes, you have to use something like
a Service Locator pattern or a dependency injector such as Spring.

Post-291, developers will still have to find a solution to the
problem, and there is nothing to stop them using OSGi Service Layer.
However this "lowest common denominator" approach is a little
disappointing.

- Neil

Back to the top