class FileUtil {

  public static Set<String> getJarFilePaths(URLClassLoader _cl) {
    final Set<String> jar_paths = new HashSet<String>();
    final URL[] urls = _cl.getURLs();
    log.info(
        "Class loader search path contains ["
            + urls.length
            + "] items: Search for configurations in JAR files");
    for (int i = 0; i < urls.length; i++) {
      final String jar_path = FileUtil.getJarFilePath(urls[i].toString());
      if (jar_path != null) {
        jar_paths.add(jar_path);
      }
    }
    return jar_paths;
  }

}