title: Defining beans per multiple spring profiles
body: <p>I have 3 profiles in my app called: dev, test, prod. 
  I want to use spring profiles to customize bean injection so that for profile dev and test I will have one bean implementation and for profile prod I will have another. 
  The question is how to achieve that. How I can setup one bean to be active within two different profiles.
  I tried something like this:</p>
  
  <pre><code>@Component
  @Profile("dev, test")
  class DevTestBean{}
  </code></pre>
  
  <p>but unfortunatelly spring sees it as a single profile called dev comma space test.</p>