private synchronized ComponentResourceProvider getComponentResourceProvider() {
    if (componentResourceProvider == null) {
      componentResourceProvider = (ComponentResourceProvider) ClusterControllerHelper.
          getClusterController().ensureResourceProvider(Resource.Type.Component);
    }
    return componentResourceProvider;
  }
Gets an instance of {@link ConfigHelper} for classes which are not
dependency injected.

@return a {@link ConfigHelper} instance.
ambari-server/src/main/java/org/apache/ambari/server/topology/AmbariContext.java