You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Consider an ApplicationContext with three instances of TestBean named: testBean, anotherTestBean, and someTestBean using the following injection point:
Current 6.2.x has a regression that it apparently applies the bean by name shortcut, resulting in a stream with a single instance (the one named testBean). Using ConfigurableApplicationContext#getBeanProvider(TestBean.class) works as expected and return the three configured instances.
The text was updated successfully, but these errors were encountered:
Consider an
ApplicationContext
with three instances ofTestBean
named:testBean
,anotherTestBean
, andsomeTestBean
using the following injection point:Current
6.2.x
has a regression that it apparently applies the bean by name shortcut, resulting in a stream with a single instance (the one namedtestBean
). UsingConfigurableApplicationContext#getBeanProvider(TestBean.class)
works as expected and return the three configured instances.The text was updated successfully, but these errors were encountered: