Closed pcyuen98 closed 3 years ago
The example for class file that can be @Autowired : covidService, covidCasesRepository, covidCasesDescRepository, covidMiningAPITotalCases.
The file that cannot be @Autowired : CovidCaseDesc
Note: covidServiceImpl can be auto wired but auto wired should be interface only due to Java Abstraction concept.
Provide Example what Class file can be autowired and what cannot be autowired.