ResourceBundle that use .properties file
1 posts in topic
Flat View  Flat View

Posted By:   Effi_Olivkovich
Posted On:   Tuesday, July 10, 2001 09:39 AM

How can I create a global ResourceBundle that will be recognized by all the classes in my application?

Re: ResourceBundle that use .properties file

Posted By:   Anonymous  
Posted On:   Monday, July 16, 2001 08:23 AM

Actually, ResourceBundles are effectively global within a VM. The reason is that a private static cache is searched and used to retain previously obtained bundles. Note that all variants of getBundle() are also static. While this design enhances performance after the first retrieval, there are no refresh/reload methods, leading to the "no standard way" answer to How can I reload ResourceBundles?.
About | Sitemap | Contact