Spring自动重载资源 [英] Automatic reloading of resources in Spring

查看:54
本文介绍了Spring自动重载资源的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法自动重新加载Spring资源文件?我想找到一种在运行时更改配置 xml 的简单方法.XML 文件不在类路径文件夹中.

Is there a way to automatically reload Spring resource file? I want to find out a simple way to change my configuration xml in runtime. Xml file is out of classpath folder.

有什么想法吗?

谢谢:)

推荐答案

如果您想避免重新部署服务器来更改 xml 配置,您可以查看 JRebel http://zeroturnaround.com/jrebel/.

If you meant that you want to avoid redeploying your server to change your xml configuration, you can check JRebel http://zeroturnaround.com/jrebel/.

这篇关于Spring自动重载资源的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆