title: Spring @EventListener annotation doesn't work
body: <p>I want to handle multiple events in one class, here's my example:</p>
  
  <pre><code>@Lazy(false)
  @Component
  public class EventListenerImpl {
  
      @EventListener
      public void handleContextRefreshedEvent(ContextRefreshedEvent event) {
          LOGGER.log(event.getSource());
          ...
      }
  }
  </code></pre>
  
  <p>However this method is not being executed when my application starts.</p>
  
  <p>In my <code>applicationContext.xml</code> I have:</p>
  
  <pre><code>&lt;context:annotation-config/&gt;
  &lt;context:component-scan base-package="..."/&gt;
  </code></pre>
  
  <p>which should be enough for <code>@EventListener</code> to work, according to the documentation.</p>
  
  <p>The old way of implementing <code>ApplicationListener&lt;ContextRefreshedEvent&gt;</code> works just fine.</p>
  
  <p>I'm using Spring 4.2.4.RELEASE.</p>