Say I need to rely on several implementations of a Spring bean. I have one AccountService interface and many implementations: DefaultAccountServiceImpl,SpecializedAccountServiceImpl and etc(actual count is 40).
How is this possible (injecting one or the other implementation) in Spring boot?
Which implementation will the following injection use?