Database-driven resource bundle in Spring
问题 I have problem to make "database-driven resource bundle" work. In example below TextDAO is properly injected during application start, but when messageSource is accessed, a new Messages object is created - that's the point. How to make this work ? <!-- message source --> <bean id="messageSource" class="org.springframework.context.support.ReloadableResourceBundleMessageSource"> <property name="basename" value="someapp.bundle.Messages" /> </bean> Messages.java @Component public class Messages