There are 2 main approaches how to use @Configuration annotation:
- When
proxyBeanMethodsattribute istruethen a CGLIB proxy is created. In this case the visibility of a@Beanannotated method can be anything exceptprivate. - When
proxyBeanMethodsattribute isfalsethen no CGLIB proxy is created. In this case the visibility of a@Beanannotated method can be anything includingprivate.
Comment From: sbrannen
I've edited your comment to improve the formatting. You might want to check out this Mastering Markdown guide for future reference.
Comment From: sbrannen
This has been merged into master.
Thanks