code: public TemplateBean getTemplateBean(String uri, boolean safe) {
  
          TemplateBean templateBean = m_templateBeanCache.get(uri);
          if ((templateBean != null) || !safe) {
              return templateBean;
          }
          return new TemplateBean("", "");
      }
docs: Gets the cached template bean for a given container page uri.<p>
  
  @param uri the container page uri
  @param safe if true, return a valid template bean even if it hasn't been cached before
  
  @return the template bean