'@RefereshScope in Spring config server
As per the documentation whenever the bean in RefereshScope
and the actuator end-point refresh called the bean got refreshed.
Questions :
- Bean refresh means spring load the bean again?
- If Spring load the bean again and A bean is in a refresh-Scope and B bean contains reference of A, Will the system again load the Bean B.
- If I marked all beans as
@RefereshScope
(all beans having@value
attribute), Is it similar to server startup.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|