Properties dynamic reload
Hi,
I'd like to know if there are facilities in Spring right now - or planned ones - for automatic reload of modified properties file.
I think it would be a great - at least for me
- feature, especially for server based applications, like webapps because of the tedious shutdown/restart cycle you have to do when modifying properties in such files.
Of course, there are caveats, like the fact that often a property file contains properties for more than one bean and thus if this file is modified, the container would try to reinject all the properties, even if they are unchanged.
So there would be a simple cache preventing the reinjection if not needed.
Does such a thing exist or is planned ?
People saying it cannot be done should not interrupt people doing it - Chinese proverb