I am new to Spring and I want to start using dependency injection.
I have many classes, and they hold dependencies as interfaces references, which I populate with objects I send as parameters to the constructor.
I know I can configure each class separately to inject each dependency with a specific implementation, but that means if I want to change the implementation of a specific dependency to all classes then I need to change every class, I want to be able to do that in one place for all classes.
What is the best way to do that?