I wish this “DI black magic” meme would die. If you’re afraid of runtime DI, then use Dagger 2.
replies(1):
On the other hand, using DI with Spring is both powerful and really annoying when things blow up due to unsatisfied dependencies, I'd much rather see that at compile time, so Dagger seems right up my alley! Thanks for mentioning it!