title: Spring-Boot Failing to @Schedule tasks for List of beans created by @Configuration class
body: <p>I am attempting to create List of beans of the same type in a class annotated by @Configuration. What I need is to execute @Scheduled function declared in those beans.</p>
  
  <pre><code> @SpringBootApplication
   @EnableScheduling
   public class DemoApplication
   {
  
       public static void main(String[] args)
       {
           SpringApplication.run(DemoApplication.class, args);
       }
   }
  
  
   @Configuration
   public class Config
   {
       @Bean
       public List&lt;Monitoring&gt; mon()
       {
           List&lt;Monitoring&gt; list = new ArrayList&lt;&gt;();
           for (int x = 0; x &lt; 5; ++x)
           {
               list.add(new First());
           }
           return list;
       }
   }
  
  
  
  
   public class First implements Monitoring
   {
       private static final Logger logger = LoggerFactory.getLogger(First.class);
  
  
       @Override
       public void doSth()
       {
           logger.info("first monitoring bean");
       }
  
  
       @Scheduled(fixedRate = 50)
       private void init()
       {
           logger.info("scheduled task");
       }
   }
  </code></pre>
  
  <p>What am I expecting from these code snippets is for my 5 Beans of Monitoring to print "scheduled task" every 50ms, but I never see this output.</p>