title: Spring @Service annotation with more values
body: <p>I would like to ask if there is possible in spring to annotate class with @Service with more than 1 value, something like this:</p>
  
  <pre><code>@Service({"ServiceName1","ServiceName2"})
  public class ClassName {
  }
  </code></pre>
  
  <p>The reason is i want to get same class when i am calling <code>applicationContext.getBean("ServiceName1");</code> or <code>applicationContext.getBean("ServiceName2");</code> </p>
  
  <p>Thanks in advance for answers.</p>