Is there a way to update a Spring bean dynamically if the spring beans configuration changes?
E.g. assume that I have a spring bean with boolean property x
and the spring beans has the value true
when the application starts.
So spring creates the bean with the property x
set to true.
Is there a way so that if I changes the property to x
(while the application is running) that the property will be updated e.g. to false
?