public Class<? extends Validator> getValidatorClass(ClassLoader cl) throws ClassNotFoundException {
    if (validatorClass == null) {
      validatorClass = cl.loadClass(validator).asSubclass(Validator.class);
    }
    return validatorClass;
  }
Get the view validator class.

@param cl the class loader

@return the view validator class

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