public static String joinComponentList(Collection<String> components) {
    return components != null
      ? ";" + String.join(";", components) + ";"
      : "";
  }
Create a  new resource provider for the given management controller.

@param managementController the management controller
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/HostComponentResourceProvider.java