ssm的applicationcontext.xml中<beans>屬性有哪些
1 回答

Qyouu
TA貢獻1786條經驗 獲得超11個贊
首先,我糾正一下你對spring依賴注入的理解! spring bean 獲得依賴的屬性值并不是通過屬性名獲得,而是通過屬性對應的get和set方法來完成。 就拿你的代碼作個例子: FinancialAction 獲得依賴的 IFinancialService,
- 1 回答
- 0 關注
- 841 瀏覽
添加回答
舉報
0/150
提交
取消