change AffectedConfigurationPropertiesRebinder comment

pull/548/head
lepdou 3 years ago
parent f93ea71ee1
commit c1384e9aa1

@ -33,17 +33,7 @@ import org.springframework.core.annotation.AnnotationUtils;
import org.springframework.util.CollectionUtils; import org.springframework.util.CollectionUtils;
/** /**
* Extend {@link ConfigurationPropertiesRebinder}. * Optimize #{@link ConfigurationPropertiesRebinder}, only rebuild affected beans.
* <p>
* Spring team doesn't seem to support single {@link ConfigurationPropertiesBean} refresh.
* <p>
* AffectedConfigurationPropertiesRebinder can only refresh affected
* {@link ConfigurationPropertiesBean} base on the change keys.
* <p>
* <strong> NOTE: We still use Spring's default behavior (full refresh) as default
* behavior, This feature can be considered an advanced feature, it may not be as stable
* as the default behavior. </strong>
*
* @author weihubeats 2022-7-10 * @author weihubeats 2022-7-10
*/ */
public class AffectedConfigurationPropertiesRebinder extends ConfigurationPropertiesRebinder { public class AffectedConfigurationPropertiesRebinder extends ConfigurationPropertiesRebinder {

Loading…
Cancel
Save