Return-Path: Delivered-To: apmail-felix-dev-archive@www.apache.org Received: (qmail 13762 invoked from network); 24 Jul 2008 09:29:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Jul 2008 09:29:32 -0000 Received: (qmail 89362 invoked by uid 500); 24 Jul 2008 09:29:30 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 89330 invoked by uid 500); 24 Jul 2008 09:29:30 -0000 Mailing-List: contact dev-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list dev@felix.apache.org Received: (qmail 89315 invoked by uid 99); 24 Jul 2008 09:29:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Jul 2008 02:29:30 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of mcculls@gmail.com designates 209.85.132.240 as permitted sender) Received: from [209.85.132.240] (HELO an-out-0708.google.com) (209.85.132.240) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Jul 2008 09:28:34 +0000 Received: by an-out-0708.google.com with SMTP id d11so609564and.64 for ; Thu, 24 Jul 2008 02:28:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:in-reply-to:mime-version:content-type:references :x-google-sender-auth; bh=jItl2uEOQLrE1dLWnqYwEEUIRJX7r8IwZwA+HwdQcvw=; b=XiImT1OFm9UZQ2VpMciHcXXXXhosl0//lyKI45tH0sIaiNjqX1fqMFEyp93sX3KysR fEGSJOJ7YstzV1xn9yGP2mS6e0HWAEs6MSA9jY030do/XgjtO+W4e1KkitWLge7KBVU+ XeR9BUThUGfLZss/jXX4cNao/SDG8BLr+iNgo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:in-reply-to:mime-version :content-type:references:x-google-sender-auth; b=cDUM1TjYdRhcPCMyKw92OGkbl/e4PXpAhaR7DXS8rN3/a0sxNWjNWxbm06uEDaJ722 8jl3B+jlDBufEtpI27KxR98aq0qyxIQYk18sfBip17lNSxfmW0BEEQd4ZBYnyM6N6Nh8 olVBKEMzfyuk2jnVwC46Ec6gvkZXIpYj56Gkg= Received: by 10.100.42.4 with SMTP id p4mr77203anp.76.1216891738526; Thu, 24 Jul 2008 02:28:58 -0700 (PDT) Received: by 10.150.195.19 with HTTP; Thu, 24 Jul 2008 02:28:58 -0700 (PDT) Message-ID: <81f0d9c0807240228w7d423c6atd87f883240b453aa@mail.gmail.com> Date: Thu, 24 Jul 2008 17:28:58 +0800 From: "Stuart McCulloch" Sender: mcculls@gmail.com To: dev@felix.apache.org Subject: Re: DS and references without an interface In-Reply-To: <87eb8aee0807230627h58f854a9m7db258c5f2b83775@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_56520_20427980.1216891738536" References: <87eb8aee0807200710j353438e0i312c17dec4a95dfd@mail.gmail.com> <48872C80.7090302@gmail.com> <87eb8aee0807230627h58f854a9m7db258c5f2b83775@mail.gmail.com> X-Google-Sender-Auth: 6bce92317e6bc33b X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_56520_20427980.1216891738536 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 2008/7/23 Alin Dreghiciu : > Thanx Felix. > > Yes, I posted the same question on more mailing lists as I did not got > a reply from Felix list were I originally posted the question. I think > you were in vacation and all DS knowledge was with you :) > BJ answered same thing: not supported. But I'm thinking to add an > enhancement issue on DS with OSGi alliance as to me this seems as a > valid use case even if is a corner case. > FYI, the schema for RFC124 (the Spring inspired component model RFC) currently allows service references with no declared interface(s) - however I haven't actually tried this in practice with Spring-DM so YMMV... anyway, sounds like a good idea to raise this issue with DS and RFC124 Regards, > > On Wed, Jul 23, 2008 at 3:05 PM, Felix Meschberger > wrote: > > Hi Alin, > > > > Is this a cross-post from the OSGi-Dev list ? > > > > Anyway, looking at the spec it seems, that interface attribute of the > > reference element is required. So I would assume, that this is not > possible > > - with the current specification. And AFAIK the Felix SCR is not able to > do > > this either. > > > > Regards > > Felix > > > > Alin Dreghiciu schrieb: > >> > >> 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 > -- Cheers, Stuart ------=_Part_56520_20427980.1216891738536--