public Class<?> getResourceClass(ClassLoader cl) throws ClassNotFoundException {
    if (resourceClass == null) {
      resourceClass = cl.loadClass(resource);
    }
    return resourceClass;
  }
Get the resource class.

@param cl  the class loader

@return the resource class

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