title: using ReloadableResourceBundleMessageSource in annotations injection
body: <p>I am using <code>ReloadableResourceBundleMessageSource</code> in my web project, and I inject the class to a servlet, the problem is that I want to inject the class using Spring annotations but it doesn't seem to work? My code is:</p>
  
  <p><strong>my.xml</strong></p>
  
  <pre><code>&lt;bean id="messageSource" class="org.springframework.context.support.ReloadableResourceBundleMessageSource"&gt;
      &lt;property name="basenames"&gt;
          &lt;list&gt;
              &lt;value&gt;classpath:myList&lt;/value&gt;
          &lt;/list&gt;
      &lt;/property&gt;
      &lt;property name="cacheSeconds" value="1"/&gt;
  &lt;/bean&gt;
  </code></pre>
  
  <p><strong>myServletClass.java</strong></p>
  
  <pre><code>protected void doGet(HttpServletRequest req, HttpServletResponse resp)
          throws ServletException, IOException {
  
  ApplicationContext applicationContext = new ClassPathXmlApplicationContext("my.xml");
  String message = applicationContext.getMessage(message, null, "Default 
  ", null);
  
  }
  </code></pre>
  
  <p>How do I inject the <code>ReloadableResourceBundleMessageSource</code> using annotations?</p>