spring-projects / spring-framework

Spring Framework
https://spring.io/projects/spring-framework
Apache License 2.0
56.82k stars 38.18k forks source link

extract "Reloadable" aspect from ReloadableResourceBundleMessageSource for reuse [SPR-995] #5706

Closed spring-projects-issues closed 16 years ago

spring-projects-issues commented 19 years ago

nicolas de loof opened SPR-995 and commented

ReloadableResourceBundleMessageSource is great to access messages and automagicaly reload bundles.

... but Bundles are properties files and properties are usefull for lot's of other things, like application configuration. I would find great to have the same behaviour and use something like a "ReloadablePropertiesConfiguration" to access application properties (it also may be associated with commons-configuration...)

It may be great to isolate property files handling (reload, caching...) into a more generic and reusable ReloadablePropertiesManager, that may be used by ReloadableResourceBundleMessageSource as a PropertiesHolder source. Converting and caching properties to MessageFormat may stay in ReloadableResourceBundleMessageSource.


Affects: 1.2.2

spring-projects-issues commented 16 years ago

Juergen Hoeller commented

There are currently no plans to proceed with this, since there doesn't seem to be much demand for it...

Juergen