Spring does DI and creates objects so that your program need not worry of creating objects.
But the question here is when an instance of injected object is created. Is it when the main program makes use of the instance or at the time an instance of main program is created.