Re: New plugin annotation: @PluginOrder

2021-03-08 Thread Ralph Goers
> On Mar 8, 2021, at 2:52 PM, Volkan Yazıcı wrote: > > Thanks Matt! I have indeed spotted the following line: > > // TODO: 2.2+ use this annotation for all @Plugin classes > > Right now I am sitting on the fence whether I shall address my issue with > extending the plugin system or rather im

Re: New plugin annotation: @PluginOrder

2021-03-08 Thread Volkan Yazıcı
Thanks Matt! I have indeed spotted the following line: // TODO: 2.2+ use this annotation for all @Plugin classes Right now I am sitting on the fence whether I shall address my issue with extending the plugin system or rather implement a MySingletonBeanFactory interface extending from Comparable a

Re: New plugin annotation: @PluginOrder

2021-03-08 Thread Matt Sicker
There's an @Order annotation that's only supported for ConfigurationFactory plugins that you could extend for arbitrary plugins perhaps? On Mon, 8 Mar 2021 at 15:24, Volkan Yazıcı wrote: > > I am working on migrating statically bound JsonTemplateLayout resolvers to > plugins. There certain types

New plugin annotation: @PluginOrder

2021-03-08 Thread Volkan Yazıcı
I am working on migrating statically bound JsonTemplateLayout resolvers to plugins. There certain types of resolvers need to have a single implementation. When a user provides a custom plugin which implements the same footprint as the singleton one, I need a way to prefer one over another. I am not