title: Spring context inheritance
body: <p>I have configuration in one file: applicationContext.xml. I have data source, session factory and two other beans.</p>
  
  <p>I want change configuration like this:</p>
  
  <ul>
  <li><code>applicationContext.xml -&gt; parent</code>, which contains data source, session factory</li>
  <li><code>bean1.xml -&gt; children</code>, which inherit from applicationContext and contains only info about bean1</li>
  <li><code>bean2.xml -&gt; children</code>, which inherit from applicationContext and contains only info about bean2</li>
  </ul>
  
  <p>How can I do that? I found information about inherit beans, but I want three another files not one</p>