In this video series I am showing how to create your own IoC Container from the ground up without any third party libraries.
Link to Part One:
• Dependency Injection Framework From S...
Link To Part Three:
• Create Your Own IoC / Dependency Cont...
Link to Github:
https://github.com/Cyecize/Magic-IoC-...
In order for the video to be more understandable, I have split the development process into 5 main sub tasks.
In this Part we are covering the third (from 5 total) sub task which is mapping scanned classes.
So in this video I am iterating all the classes that we scanned from the previous video and I am filtering those that have a service annotation and then I am creating a POJO class containing details about this service like its constructor, its postConstruct and preDestroy methods, its beans and so on.
Also I am creating a configuration that is using the builder pattern with nested configuration options.