Hi,
Currently i'm using ReloadableResourceBundleMessageSource to implement messageSource interface.
What i would like to do is not only to getMessage() seperatly each time i need to display it, but to load the entire property file into a Property object.
I saw that ReloadableResourceBundleMessageSource has a protected API called loadProperties, but it's not accesible..
Can you please advise on a way to do it via this bean:
Thanks.HTML Code:<bean id="messageSource" class="org.springframework.context.support.ReloadableResourceBundleMessageSource"> <property name="basenames"> <list> <value>WEB-INF/classes/mailmessages</value> <value>WEB-INF/classes/messages</value> <value>WEB-INF/classes/exceptionmessages</value> </list> </property> <property name="fileEncodings" value="UTF-8" /> <property name="defaultEncoding" value="UTF-8" /> </bean>


Reply With Quote