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 <[email protected]> > 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 <[email protected]> > >> On Wed, Jul 3, 2013 at 3:07 PM, Justin Edelson <[email protected]> >> wrote: >> ... >> > @Adapter(condition="if the resource type is slingbucks/list"). >> ... >> >> Makes sense, noted in SLING-2938 >> -Bertrand >> > > > > -- > Carsten Ziegeler > [email protected] > -- Carsten Ziegeler [email protected]
