RE: [equinox-dev] DS and references without an interface

2008-07-22 Thread Clement Escoffier
[EMAIL PROTECTED] On Behalf Of Alin Dreghiciu Sent: lundi 21 juillet 2008 23:48 To: Equinox - General; OSGi Alliance - General Subject: [equinox-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 (tar

Re: [equinox-dev] DS and references without an interface

2008-07-22 Thread BJ Hargrave
om: Stefan Liebig <[EMAIL PROTECTED]> To: Equinox development mailing list 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

Re: [equinox-dev] DS and references without an interface

2008-07-22 Thread Alin Dreghiciu
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 pa

Re: [equinox-dev] DS and references without an interface

2008-07-21 Thread Stefan Liebig
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.

[equinox-dev] DS and references without an interface

2008-07-21 Thread Alin Dreghiciu
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 OS