Hi,
I am new to java and spring. I do not understand that spring requires and instantiates an object from the interface “filter”. I thought interfaces cannot be instantiated (although I am aware that there are non-static methods since java8):
" The @Autowired
annotation tells Spring that RecommenderImplementation
needs an object of type Filter
."
Sorry for the noob question, but would be glad for a pointer in the right direction.
Course: The Complete Guide to Spring 5 and Spring Boot 2 - Learn Interactively
Lesson: Managing Beans and Dependencies - The Complete Guide to Spring 5 and Spring Boot 2