if (bean == null) {
if (bean == null && this.parentcontext.containsBean(beanname)) {
  Object getBean(PerRequestInfo pri, String beanname, boolean nolazy) {    Object bean = null;    // NOTES on parentage: We actually WOULD like to make the "blank" context    // a child context of the parent, so that we could resolve parents across    // the gap - the problem is the line below, where we distinguish local beans    // from parent ones. Revisit this when we have a sensible idea about parent    // contexts.    // NB - we check the container since some fiend might have thrown it in    // manually on inchuck - but actually this is faster than Spring anyway.    if (pri.beans.locateBean(beanname) != null ||        blankcontext.containsBean(beanname) ) {      bean = getLocalBean(pri, beanname, nolazy);    }    else {      if (bean == null) {        bean = this.parentcontext.getBean(beanname);      }    }    return bean;  }