Browse Source

Adds rebind/refresh an individual bean by type

Fixes gh-1162
pull/1167/head
spencergibb 2 years ago
parent
commit
3a582dc603
No known key found for this signature in database
GPG Key ID: 7788A47380690861
  1. 3
      spring-cloud-context/src/main/java/org/springframework/cloud/context/properties/ConfigurationPropertiesRebinder.java
  2. 3
      spring-cloud-context/src/main/java/org/springframework/cloud/context/scope/refresh/RefreshScope.java

3
spring-cloud-context/src/main/java/org/springframework/cloud/context/properties/ConfigurationPropertiesRebinder.java

@ -104,7 +104,8 @@ public class ConfigurationPropertiesRebinder @@ -104,7 +104,8 @@ public class ConfigurationPropertiesRebinder
}
/**
* WARNING: This method rebinds beans from any context in the hierarchy using the main application context.
* WARNING: This method rebinds beans from any context in the hierarchy using the main
* application context.
* @param type bean type to rebind.
* @return true, if successful.
*/

3
spring-cloud-context/src/main/java/org/springframework/cloud/context/scope/refresh/RefreshScope.java

@ -132,7 +132,8 @@ public class RefreshScope extends GenericScope @@ -132,7 +132,8 @@ public class RefreshScope extends GenericScope
}
/**
* WARNING: This method refreshes beans from any context in the hierarchy using the main application context.
* WARNING: This method refreshes beans from any context in the hierarchy using the
* main application context.
* @param type bean type to rebind.
* @return true, if successful.
*/

Loading…
Cancel
Save