[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [equinox-dev] DS and references without an interface
- From: "Alin Dreghiciu" <adreghiciu@xxxxxxxxx>
- Date: Tue, 22 Jul 2008 09:36:45 +0200
- Delivered-to: firstname.lastname@example.org
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=ba22MVjw/05bV3uab52RMfOCWGQKk0za0lX8Ndy4j8Tc2Yo+J/QPCuV4AenjaxXpuI 1vpKL0DWsECdcrvza5sODy7Ds2y2EZ7/KFwy45Lg3h7Cf1lwlaH95Ek1NdsfUrYgHBOm ZudzvA7mM4s2d2C9Rn11LHK16PDAuxCyh4pNo=
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.
On Tue, Jul 22, 2008 at 6:55 AM, 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 mailing list
http://www.ops4j.org - New Energy for OSS Communities - Open
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