public Class<? extends ResourceProvider> getProviderClass(ClassLoader cl) throws ClassNotFoundException {
    if (providerClass == null) {
      providerClass = cl.loadClass(provider).asSubclass(ResourceProvider.class);
    }
    return providerClass;
  }
Get the resource provider class.

@param cl  the class loader

@return the resource provider class

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