That will only work for services registered under the name 
"java.lang.Object". I imagine the size of that set is zero.
-- 

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:
Stefan Liebig <[EMAIL PROTECTED]>
To:
Equinox development mailing list <equinox-dev@eclipse.org>
Date:
2008/07/22 12:57 AM
Subject:
Re: [equinox-dev] DS and references without an interface



Have you tried java.lang.Object as type?

Alin Dreghiciu wrote:
> 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,
> 

_______________________________________________
equinox-dev mailing list
equinox-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/equinox-dev

_______________________________________________
equinox-dev mailing list
equinox-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/equinox-dev

Reply via email to