Just read the answer in the issue :)

I like the general intention - however it feels a little bit strange to
register a AdapterProvider, annotate a method and then this gets picked up
at runtime and a new AdapterFactory is registered.
Can't we make this annoation build time only - as an extensions of the SCR
annotations?

Carsten


2013/7/3 Carsten Ziegeler <cziege...@apache.org>

> Hi,
>
> sounds interesting - could you please elaborate a little bit on who is
> processing this annotation and when?
>
> Thanks
> Carsten
>
>
> 2013/7/3 Bertrand Delacretaz <bdelacre...@apache.org>
>
>> On Wed, Jul 3, 2013 at 3:07 PM, Justin Edelson <jus...@justinedelson.com>
>> wrote:
>> ...
>> > @Adapter(condition="if the resource type is slingbucks/list").
>> ...
>>
>> Makes sense, noted in SLING-2938
>> -Bertrand
>>
>
>
>
> --
> Carsten Ziegeler
> cziege...@apache.org
>



-- 
Carsten Ziegeler
cziege...@apache.org

Reply via email to