Adds rebind/refresh an individual bean by type

Fixes gh-1162
This commit is contained in:
spencergibb
2022-10-27 11:51:04 -04:00
parent d1dba70bbf
commit 3a582dc603
2 changed files with 4 additions and 2 deletions

View File

@@ -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.
*/

View File

@@ -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.
*/