Using @Autowired in abstract classes
I recently came across a problem when migrating an old java code base to use the Spring framework. More specific we needed to implement spring-data-mongo and took the opportunity to “springify” the application properly. The app is using quite a few abstract classes, sometimes a couple of levels deep and as an example the top level abstract class did contain code to read from properties files and also did have some class level members that needed to instantiated....