Automatic configuration reinitialization in Spring

前端 未结 5 655
谎友^
谎友^ 2021-01-04 11:18

In Log4j, there is a feature wherein the system can be initialized to do a configure and watch with an interval. This allows for the log4j system to reload its properties wh

5条回答
  •  我在风中等你
    2021-01-04 11:28

    I would be extra cautious with reloading spring application context.

    What do you expect to happen with singleton beans? If an object has a reference to singleton bean, should it be updated?

提交回复
热议问题