spring-cloud-tencent icon indicating copy to clipboard operation
spring-cloud-tencent copied to clipboard

配置动态刷新的反射模式相关的bean实例化添加conditional判断

Open SkyeBeFreeman opened this issue 3 years ago • 2 comments

What is the feature you want to add?

Why do you want to add this feature?

如果使用refresh_context的方式实现动态配置刷新,也会实例化反射的方式的相关bean,可以看看能否不实例化。

How to implement this feature?

添加@ConditionalOnConfigReflectEnabled注解,并添加到响应的bean实例化方法上。

Additional context No.

SkyeBeFreeman avatar Jul 27 '22 04:07 SkyeBeFreeman

这个任务给我试试

lingxiao-wu avatar Jul 27 '22 15:07 lingxiao-wu

这个任务给我试试

Sounds cool.

SkyeBeFreeman avatar Aug 01 '22 05:08 SkyeBeFreeman