title: how to set value to @Order annotation in spring boot from a propertyfile
body: <p>I need to autowire the following beans to a <code>List</code>, and I need my <code>List</code> to be ordered. This is how I'm doing it:</p>
  
  <pre><code>@Service
  @Order(1)
  public class Slave1 implements Slave {}
  
  @Service
  @Order(2) //instead of hardcoding I need the value to be picked up externally
  public class Slave2 implements Slave {}
  
  @Autowire
  List&lt;Slave&gt; slaves;
  </code></pre>
  
  <p>But I want the order value to be fetched from the <code>application.properties</code> file.
  Is this possible? Can I set a value for the <code>@Order</code> annotation from a property file?</p>