private void buildConfigLayout() {
    if (null == configLayout) {
      synchronized (this) {
        if (null == configLayout) {
          configLayout = new HashMap<>();

          for (PropertyInfo pi : getProperties()) {
            String type = pi.getFilename();
            int idx = type.indexOf(".xml");
            type = type.substring(0, idx);

            if (!configLayout.containsKey(type)) {
              configLayout.put(type, new HashSet<>());
            }

            configLayout.get(type).add(pi.getName());
          }
        }
      }
    }
  }
Builds the config map specific to this service.
ambari-server/src/main/java/org/apache/ambari/server/state/ServiceInfo.java