DS was not designed to address all possible ways of using OSGi services. We already have the raw API and ServiceTracker for that. It was designed to address the common "80%" modes of using services. Services are mostly looked up by the interface name under which is was registered. So DS does not handle binding to services without specifying an interface name.
If you would like to request an enhancement to DS, please feel free to do so and OSGi can evaluate it. I replied about what DS can do today. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance [EMAIL PROTECTED] office: +1 386 848 1781 mobile: +1 386 848 3788 From: "Alin Dreghiciu" <[EMAIL PROTECTED]> To: "OSGi Developer Mail List" <[email protected]> Date: 2008/07/22 04:04 AM Subject: Re: [osgi-dev] DS and references without an interface I fail to see why this is beyond design of DS. What harm this can do to DS? I have a component that needs such a reference and I want to benefit of all the goodies related to DS. If I will do it with a service tracker then I have to handle myself the activation/deactivation, service tracking (cardinality/policy related). And if is not possible nowdays maybe will be a good addition to RFC0134. On Tue, Jul 22, 2008 at 12:38 AM, BJ Hargrave <[EMAIL PROTECTED]> wrote: > > I think what you want is beyond the intended design goals of DS. Sounds like > you need a ServiceTracker! > -- > > BJ Hargrave > Senior Technical Staff Member, IBM > OSGi Fellow and CTO of the OSGi Alliance > [EMAIL PROTECTED] > office: +1 386 848 1781 > mobile: +1 386 848 3788 > > > > > From: "Alin Dreghiciu" <[EMAIL PROTECTED]> > To: "Equinox - General" <[EMAIL PROTECTED]>, "OSGi Alliance - General" > <[email protected]> > Date: 2008/07/21 05:52 PM > Subject: [osgi-dev] DS and references without an interface > ________________________________ > > > Hi guys, > > Is there any way to specify in Declarative Services a reference > without a type, just with a filter (target)? > My use case is that I want all services that have certain service > properties regardless the type of the service. > > Thanx, > -- > Alin Dreghiciu > http://www.ops4j.org - New Energy for OSS Communities - Open > Participation Software. > http://www.qi4j.org - New Energy for Java - Domain Driven Development. > http://malaysia.jayway.net > - New Energy for Projects - Great People > working on Great Projects at Great Places > _______________________________________________ > OSGi Developer Mail List > [email protected] > https://mail.osgi.org/mailman/listinfo/osgi-dev > > > _______________________________________________ > OSGi Developer Mail List > [email protected] > https://mail.osgi.org/mailman/listinfo/osgi-dev > -- Alin Dreghiciu http://www.ops4j.org - New Energy for OSS Communities - Open Participation Software. http://www.qi4j.org - New Energy for Java - Domain Driven Development. http://malaysia.jayway.net - New Energy for Projects - Great People working on Great Projects at Great Places _______________________________________________ OSGi Developer Mail List [email protected] https://mail.osgi.org/mailman/listinfo/osgi-dev
_______________________________________________ OSGi Developer Mail List [email protected] https://mail.osgi.org/mailman/listinfo/osgi-dev
