所以,我在网上阅读,你不能将配置定为最终的,因为 CGLIB 扩展了类来创建代理。但是,我正在阅读 @Scope 的文档,默认的 proxyMethod 值是不创建代理(链接在这里 - https://docs.spring.io/springframework/docs/current/javadoc-api/org/springframework/ context/annotation/Scope.html)。
所以,我的主要问题是,是否为每个 @Configuration 创建一个代理?
java aop spring spring-aop spring-boot
aop ×1
java ×1
spring ×1
spring-aop ×1
spring-boot ×1