title: Spring Profile - How to include AND condition for adding 2 profiles?
body: <p>I don't want a specific bean to be loaded if either the active profile is test or local. However when I set the below , spring seems to be treating is as "or" and the method gets executed both when active profile is test or local. However if remove say local and keep test , then the bean is not created when the profile is test. </p>
  
  <pre><code>@Profile({"!test","!local"})
  </code></pre>