Can you Autowire an abstract class?

We can’t use @Autowired on a constructor of an abstract class. Spring doesn’t evaluate the @Autowired annotation on a constructor of an abstract class. The subclass should provide the necessary arguments to the super constructor.

Sizin İçin Seçtik  What band is 28ghz?

Leave a Reply

Your email address will not be published. Required fields are marked *