code: public static Map<String, File[]> getVersionFilesByProdExtension(File installDir) {
          Map<String, File[]> versionFiles = new TreeMap<String, File[]>();
          Iterator<ProductExtensionInfo> productExtensions = ProductExtension.getProductExtensions().iterator();
  
          while (productExtensions != null && productExtensions.hasNext()) {
              ProductExtensionInfo prodExt = productExtensions.next();
              String prodExtName = prodExt.getName();
  
              if (0 != prodExtName.length()) {
                  String prodExtLocation = prodExt.getLocation();
                  if (prodExtLocation != null) {
                      String normalizedProdExtLoc = FileUtils.normalize(prodExtLocation);
                      if (FileUtils.pathIsAbsolute(normalizedProdExtLoc) == false) {
                          String parentPath = installDir.getParentFile().getAbsolutePath();
                          normalizedProdExtLoc = FileUtils.normalize(parentPath + "/" + prodExtLocation + "/");
                      }
  
                      File prodExtVersionDir = new File(normalizedProdExtLoc, VERSION_PROPERTY_DIRECTORY);
                      if (prodExtVersionDir.exists()) {
                          versionFiles.put(prodExtName, prodExtVersionDir.listFiles(versionFileFilter));
                      }
                  }
              }
          }
  
          return versionFiles;
      }
docs: Retrieves the product extension jar bundles pointed to by the properties file in etc/extensions.
  
  @return The array of product extension jar bundles