if (bean == BEAN_IN_CREATION_OBJECT) {
if (bean instanceof CreationMarker) {
  private Object getLocalBean(PerRequestInfo pri, String beanname,      boolean nolazy) {    Object bean = pri.beans.locateBean(beanname);    if (bean == BEAN_IN_CREATION_OBJECT) {      throw new BeanCurrentlyInCreationException(beanname);    }    else if (bean == null) {      FactoryBean pfb = (FactoryBean) pri.lazysources.get(beanname);      if (pfb != null && !nolazy) {        try {          return pfb.getObject();        }        catch (Exception e) {          throw UniversalRuntimeException.accumulate(e,              "Error getting proxied bean");        }      }      else {        bean = createBean(pri, beanname);      }    }    return bean;  }