I don't think so. `PluginManager` accesses `PluginRegistry.getInstance()`,
where the plugins are already cached. `PluginManager#collectPlugins()`
simply filters them using the given category key.

On Fri, Apr 15, 2022 at 1:51 PM Remko Popma <remko.po...@gmail.com> wrote:

> Maybe the complaints about startup time have to do with this:
>
> note that every time a PatternParser is instantiated, we load all plugins
> again...
>
> public PatternParser(final Configuration config, final String
> converterKey, final Class<?> expectedClass,
>         final Class<?> filterClass) {
>     this.config = config;
>     final PluginManager manager = new PluginManager(converterKey);
>     manager.collectPlugins(config == null ? null :
> config.getPluginPackages());
>

Reply via email to