Earle mentioned on
SAK-42394 that usage of getting the beans during init and injecting them was an anti-pattern and should be removed.
I looked and there were 4 places doing this in core that should be investigated to see if we can remove these. Contrib tools that make use of this pattern would break but we should be able to fix these for core. Everything now except the one in basiclti are calling with the third parameter as "false".
221: Collection processors = ac.getParent().getBeansOfType(BLTIProcessor.class).values();
54: applicationContext.getBeansOfType(ElasticSearchIndexBuilder.class, false, false);
184: Map<String, ConfigurationProvider> providerBeans = this.applicationContext.getBeansOfType(ConfigurationProvider.class, false, false);
94: Map<String, LearningResourceStoreProvider> beans = applicationContext.getBeansOfType(LearningResourceStoreProvider.class, true, false);