title: How do I ignore an ApplicationListener defined in spring.factories?
body: <p>I'm importing a Spring Boot Starter in my project because it contains a class I would like to use but I don't want auto configuration to run. I can see in the starter that there is a <code>META-INF/spring.factories</code> file which has both auto configurations as well as application listeners defined.</p>
  
  <pre><code># Auto Configurations
  org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
      org.demo.SomeAutoConfiguration,\
      org.demo.AnotherAutoConfiguration
  
  # Application Listeners
  org.springframework.context.ApplicationListener=\
      org.demo.SomeApplicationListener,\
      org.demo.AnotherApplicationListener
  </code></pre>
  
  <p>I've figured out how to exclude specific classes from auto configuration and this works great.</p>
  
  <pre><code>@SpringBootApplication(exclude={SomeAutoConfiguration.class, AnotherAutoConfiguration.class})
  </code></pre>
  
  <p>Now I can't seem to figure out how to exclude one or more of these application listeners. Any ideas?</p>