從Spring 4.3以後,如果bean只有一個建構子,則constructor injection可以省略 @Autowired 。 引述官方文件如下:. As of Spring Framework 4.3, an @ ...
確定! 回上一頁