spring热加载(隔一段时间加载properties等文件)ReloadableResourceBundleMessageSource
1.先配置applicationcontext(地址有两种classpath:,file:)classpath:properties/flexfile:/C:/....-->2.java里面调用@autowiredprivateReloadableResourceBundleMessageSourcemessageSource;Stringm=ctx.getMessage(key,newObjec