Context
I m actually studying TypeScript decorator and I m facing a problem with decorator / annotation and reflection.
So, to help me a bit understanding the concept, I wanted to have some informations concerning the Spring Framework.
Questions
-
I've read somewhere that Spring annotations are based on reflection. Is that true ?
-
If it's the case, I was wondering how Spring is able to create a "route registry" from annotations through @RequestMapping. In fact, if we deal with class reflection, the class has to be instanciated before being able to look into it right ? So, how does Spring handle this ?
Thanks for advance
Thanks for advance
Aucun commentaire:
Enregistrer un commentaire