title: Spring: Get inline bean by name
body: <p>I would like to get inner bean by it's name. Is it possible with Spring API?</p>
  
  <p>Right now I'm using such Spring 2.5 API</p>
  
  <pre><code>ConfigurableApplicationContext.getBean(String paramString)
  </code></pre>
  
  <p>Example of XML:</p>
  
  <pre><code>&lt;bean id="parent" parent="t_Parent"&gt;
      &lt;property name="items"&gt;
          &lt;bean id="child" parent="t_Child"&gt;
              &lt;property name="ABC" value="test"/&gt;
          &lt;/bean&gt;
      &lt;/property&gt;
  &lt;/bean&gt;
  </code></pre>
  
  <p>I would like to get inner (t_Child) bean by id "child". E.g. ConfigurableApplicationContext.getBean("child"). Spring can't find such bean (because it's inner). At the same time .getBean("parent") works fine.</p>
  
  <p>Any thoughts?</p>