[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [equinox-dev] DS and references without an interface

That will not work as this interface will actually be used to filter
the services based on objectClass attribute. That attribute is
automatically set by the framework on service registration to the
interfaces used for registration of the service and is not searching
the class hierarchy just that particular interfaces.

Thanx anyway.

On Tue, Jul 22, 2008 at 6:55 AM, Stefan Liebig
<Stefan.Liebig@xxxxxxxxxxxx> wrote:
> 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@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/equinox-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