title: How does Spring's @Scheduled annotation work?
body: <p>In my app I have 3 scheduled methods in 3 separate classes:</p>
  
  <pre><code>@Component
  public class ClassA {
  @Scheduled(fixedDelay = 5000L)
      public void methodA(){
          //do task "A"
      }
  }
  
  @Component
  public class ClassB {
  @Scheduled(fixedDelay = 5000L)
      public void methodB(){
          //do task "B"
      }
  }
  
  @Component
  public class ClassF {
  @Scheduled(fixedDelay = 5000L)
      public void methodF(){
          //do task "F"
      }
  }
  </code></pre>
  
  <p>In apps applicationContext there are such lines:</p>
  
  <pre><code>&lt;task:annotation-driven executor="myExecutor" scheduler="scheduler"/&gt;
  &lt;task:executor id="myExecutor"/&gt;
  &lt;task:scheduler id="scheduler"/&gt;
  </code></pre>
  
  <p>I can't figure it out from the log files, so here are my questions:</p>
  
  <ul>
  <li>How do these methods executes? In parallel or successively? If successively then how can it be reconfigured to work in parallel?</li>
  <li>Is this confuguration multithreaded (for each method) or not (and if not - again, how can it be changed)?</li>
  </ul>