title: Load Spring bean
body: <p>Is there any way in Spring to load a bean specifically.</p>
  
  <p>I've a appContext file having lots of beans.
  When loading it using the following code, it loads all beans again.</p>
  
  <pre><code>BeanFactory factory = new ClassPathXmlApplicationContext("appContext.xml");
  </code></pre>