Return-Path: Delivered-To: apmail-felix-users-archive@locus.apache.org Received: (qmail 21121 invoked from network); 19 Nov 2008 14:03:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Nov 2008 14:03:53 -0000 Received: (qmail 52475 invoked by uid 500); 19 Nov 2008 14:04:00 -0000 Delivered-To: apmail-felix-users-archive@felix.apache.org Received: (qmail 52438 invoked by uid 500); 19 Nov 2008 14:04:00 -0000 Mailing-List: contact users-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@felix.apache.org Delivered-To: mailing list users@felix.apache.org Received: (qmail 52427 invoked by uid 99); 19 Nov 2008 14:04:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Nov 2008 06:04:00 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of fmeschbe@gmail.com designates 64.233.182.186 as permitted sender) Received: from [64.233.182.186] (HELO nf-out-0910.google.com) (64.233.182.186) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Nov 2008 14:02:37 +0000 Received: by nf-out-0910.google.com with SMTP id d3so1831598nfc.20 for ; Wed, 19 Nov 2008 06:03:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=TrIQOY6FPl0/MzUlPFtEtJLdTGVSnGidOqwqeXEZ1MU=; b=QXZSQR/Si/roYgUDRHtVM22S9FSFbbB86vW1YnZByBYvclGIliqmhFJJa32XwjwL1G qkx85012XZBC3aB68v9ncnZFRQ9lFNJ34W6+mpKUOgIHP8ZyOSye4PTDfhac2GOqm9kv wncd0d2kTFrqqScCm9ixf2LPvIR1H9A2426fg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=DKMu0qC0K+rJZ16U44zTYBeTN+F08LluWRIBJwXSQLw6Uu1kkxvVyoB2O6IWfso2MM mHS6JyqUplZCkSaFlcO5e1ykNylU/mbjaSAeWTsHCGfeK2S1T8dOWX9mUECdSnc+9+6T VTe/+z9HIKQRD+mqyObG7OaINUI4HVQt3F+Nw= Received: by 10.86.59.18 with SMTP id h18mr734588fga.35.1227103401534; Wed, 19 Nov 2008 06:03:21 -0800 (PST) Received: from bslm-046.corp.day.com (cable-static-138-82.eblcom.ch [87.102.138.82]) by mx.google.com with ESMTPS id l19sm1112922fgb.7.2008.11.19.06.03.20 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 19 Nov 2008 06:03:20 -0800 (PST) Message-ID: <49241CA7.2040100@gmail.com> Date: Wed, 19 Nov 2008 15:03:19 +0100 From: Felix Meschberger User-Agent: Thunderbird 2.0.0.14 (X11/20080501) MIME-Version: 1.0 To: users@felix.apache.org Subject: Re: Lookup strategy using maven-scr-plugin References: <1227102162.26478.2.camel@eos.nohuddleoffense.de> <49241AD7.1020401@gmail.com> <1227103159.26478.9.camel@eos.nohuddleoffense.de> In-Reply-To: <1227103159.26478.9.camel@eos.nohuddleoffense.de> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi Thijs, Thijs Metsch schrieb: > Hi, > >> Of course you can still opt to ignore any call to the bind and unbind >> method and instead use the ComponentContext to lookup the reference on >> demand. But, I agree, that this definitely clutters the class and adds >> some overhead without any real need. > > Jup the overhead is my concern :-) > >> I could imagine, that we add an attribute to the @scr.reference tag: >> >> strategy = event | lookup >> >> The default value would be "event". If the strategy attribute is set >> to >> "lookup", no bind and unbind methods are required (and generated) and >> no >> bind/unbind configuration attributes are set. Otherwise the bind and >> unbind methods are required (and generated) and the bind/unbind >> configuration attributes are set. > > Sounds great I would support that. If needed I can implement and alter > the code for this issue. That is an offer, I cannot turn down ;-) Yes, of course, if you could file a JIRA and attach a proposed patch, this would make our lives much easier. Thanks Regards Felix > >> WDYT ? >> >> Regards >> Felix > > Cheers, > > -Thijs > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@felix.apache.org > For additional commands, e-mail: users-help@felix.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@felix.apache.org For additional commands, e-mail: users-help@felix.apache.org