Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Springframework PropertyPlaceholderConfigurer

Tags:

java

Have question on PropertyPlaceholderConfigurer. If properties file is changed, will spring loads it dynamically or do we have to start app for the changes to take effect?

like image 210
user12121 Avatar asked Dec 27 '22 13:12

user12121


1 Answers

They're loaded on startup.

But making them reloadable is completely doable.

like image 102
Dave Newton Avatar answered Dec 30 '22 01:12

Dave Newton