Reloading/Refreshing Spring configuration file without restarting the servlet container

后端 未结 4 1147
轮回少年
轮回少年 2020-11-30 04:43

How can I refresh Spring configuration file without restarting my servlet container?

I am looking for a solution other than JRebel.

4条回答
  •  清歌不尽
    2020-11-30 05:23

    You can take a look at this http://www.wuenschenswert.net/wunschdenken/archives/138 where once you change any thing in the properties file and save it the beans will be reloaded with the new values.

提交回复
热议问题