docs: public UIComponent createComponent(FacesContext context, Resource componentResource)
      {
          Application application = getMyfacesApplicationInstance(context);
          if (application != null)
          {
              return application.createComponent(context, componentResource);
          }
          throw new UnsupportedOperationException();
      }