spring什么时候需要注入

在这里插入图片描述转自:https://zhidao.baidu.com/question/1245200006843545259.html