You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by Thijs Metsch <Th...@Sun.COM> on 2008/11/24 14:21:48 UTC
Re: Lookup strategy using maven-scr-plugin
Any news on this one?
On Wed, 2008-11-19 at 17:22 +0100, Thijs Metsch wrote:
> see below :-)
>
> > >> 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.
> >
>
> See https://issues.apache.org/jira/browse/FELIX-824
>
> Cheers,
>
> -Thijs
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>
Re: Lookup strategy using maven-scr-plugin
Posted by Felix Meschberger <fm...@gmail.com>.
Hi Thijs,
Unfortunately I did not yet come around to fix this. Coming ASAP.
Regards
Felix
Thijs Metsch schrieb:
> Any news on this one?
>
> On Wed, 2008-11-19 at 17:22 +0100, Thijs Metsch wrote:
>> see below :-)
>>
>>>>> 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.
>>>
>> See https://issues.apache.org/jira/browse/FELIX-824
>>
>> Cheers,
>>
>> -Thijs
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>> For additional commands, e-mail: users-help@felix.apache.org
>>
>
>