code: public synchronized static void addBundleRepository(String installDir, String featureType) {
          BundleRepositoryHolder bundleRepositoryHolder = new BundleRepositoryHolder(installDir, cacheServerName, featureType);
  
          if (!repositoryHolders.containsKey(featureType))
              repositoryHolders.put(featureType, bundleRepositoryHolder);
      }
docs: Add a bundle repository to the map if one for that feature type has not
  already been added.
  
  @param installDir The install location for the repository. This can vary, i.e. product extensions.
  @param featureType The "name" for this repository. "" for default, "usr" for the user extension, etc.