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
