[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Re: [equinox-dev] RequiresBundle, ImportPackage and virtual providers
- From: "Neil Bartlett" <neil@xxxxxxxxxxxxxx>
- Date: Thu, 30 Mar 2006 14:55:40 +0100
- Delivered-to: firstname.lastname@example.org
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=a4DQmBCwlPbmA9rBK445w/8wy68GcJzqFWWpDP/kTrRm7IhO2KoAGH3vmX6t7T672FmeAg+LYlil0WjXmvwQ5NNiCgYmUk4eWQh92mDTBJzSPPYFEWEjKsANuaZKMmjutfMtLcHES3gSC+/ov5qgB7kR2MwqPKXbV66orx8eH0w=
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