Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

refresh ResourceBundle contents

 
Ted Jenks
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?
 
Thomas Smets
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 ?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic