public Class<? extends View> getViewClass(ClassLoader cl) throws ClassNotFoundException {
    if (viewClass == null) {
      viewClass = cl.loadClass(view).asSubclass(View.class);
    }
    return viewClass;
  }
Get the view class.

@param cl the class loader

@return the view class

@throws ClassNotFoundException if the class can not be loaded
ambari-server/src/main/java/org/apache/ambari/server/view/configuration/ViewConfig.java