private synchronized HostComponentResourceProvider getHostComponentResourceProvider() {
    if (hostComponentResourceProvider == null) {
      hostComponentResourceProvider = (HostComponentResourceProvider)
          ClusterControllerHelper.getClusterController().ensureResourceProvider(Resource.Type.HostComponent);

    }
    return hostComponentResourceProvider;
  }
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