3 ms·
Which is the standard way to do DI in Spring as well? It will be just called by reflection instead. But frankly, how will you call that new if it depends on a
by kaba0 5y ago
Which is the standard way to do DI in Spring as well? It will be just called by reflection instead.
But frankly, how will you call that new if it depends on a class which is a singleton, another which has some more complicated scope so it may or may not have to be reused? DI is not only about calling new..