For example, if I declare in my application-context.xml:
<context:annotation-config/>
I read the official documentation:
Implicitly registered postprocessors include AutowiredAnnotationBeanPostProcessor, CommonAnnotationBeanPostProcessor, PersistenceAnnotationBeanPostProcessor, as well as the aforementioned RequiredAnnotationBeanPostProcessor.
But I was wondering how Spring works under the hood, I think this 1-liner will be converted to several bean definitions for the post-processors mentioned in the documentation.
However, my question is that Spring component / class implements this "conversion from 1-line to multiple bean functionality?"
source share