This week's book giveaways are in the Scala and Android forums.
We're giving away four copies each of Machine Learning Systems: Designs that scale and Xamarin in Action: Creating native cross-platform mobile apps and have the authors on-line!
See this thread and this one for details.
Win a copy of Machine Learning Systems: Designs that scale this week in the Scala forum
or Xamarin in Action: Creating native cross-platform mobile apps in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

refresh ResourceBundle contents  RSS feed

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does anyone know of a ResourceBundle implementation that provides a method to refresh the bundle that is backed by a properties file? In other words, force the bundle to load the contents of the properties file again?
 
Ranch Hand
Posts: 111
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nope you can the ressource bundles are loaded once & they cannot be dereferenced as the VM holds a reference to all the Strings (Keys & Values).

ResourceBundle help I posted earlier on another site. I will keep you informed when my version of the GC RBDL's (Garbage Collectable Resourcebundle) is made available in alpha
Hope to be able to provide you with a correct version for your needs ?
 
I am Arthur, King of the Britons. And this is a tiny ad:
Rocket Oven Kickstarter - from the trailboss
https://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!