title: How to specify the default profile that beans will be registered under in Spring?
body: <p>Given: </p>
  
  <pre><code>&lt;beans ... namespace decelerations&gt;
       &lt;bean id="foo" class="com.example.foo" /&gt;
       &lt;beans profile="abc"&gt;
           &lt;bean id="bar" class="com.exmaple.bar" /&gt;
       &lt;/beans&gt;
  &lt;/bean&gt;
  </code></pre>
  
  <p>what is the name of the profile that foo is registered under? Is there a way to override foo in another profile definition? Is there a name for the default profile in spring when a profile is not explicitly specified.</p>