code: public FacesConfigManagedBeanType<WebFacesConfigDescriptor> getOrCreateManagedBean()
     {
        List<Node> nodeList = model.get("managed-bean");
        if (nodeList != null &&  nodeList.size() > 0)
        {
           return new FacesConfigManagedBeanTypeImpl<WebFacesConfigDescriptor>(this, "managed-bean", model, nodeList.get(0));
        }
        return createManagedBean();
     }
docs: If not already created, a new <code>managed-bean</code> element will be created and returned.
  Otherwise, the first existing <code>managed-bean</code> element will be returned.
  @return the instance defined for the element <code>managed-bean</code>