Since Spring beans are not exposed anymore as services I get exceptions like
Error obtaining injected value for field org.example.user.Login.dao: Spring context contains 2 beans assignable to type org.example.dao.Dao: dao, daoImpl. I couldn't find anything in the docs about injecting by name. And the proposes workaround for non singletons with injecting ApplicationContext and then get the bean by name/id works, but is a bit awkward in cases like this. Is there some other possibility? If not, is support for injection by name planned in the future without the 5.0 compatibility mode?