spring.net 热重启(实时载入新配置)

1.  守护程序更新配置文件。

2.     Spring.Context.IConfigurableApplicationContext ic = (Spring.Context.IConfigurableApplicationContext)ContextRegistry.GetContext();

    ic.Refresh();

posted @ 2012-11-28 10:25  肖璟  阅读(247)  评论(0)    收藏  举报