code: private AgentManifestReader readManifests(ClassLoader classLoader, String path) throws IOException {
      Enumeration<URL> resources = classLoader.getResources(path);
      while (resources.hasMoreElements()) {
        URL url = resources.nextElement();
        try {
          addResource(url.openStream());
        } catch (IOException e) {
          System.err.println("Error reading manifest resources " + url);
          e.printStackTrace();
        }
      }
      return this;
    }
docs: Read all the specific manifest files and return the set of packages containing type query beans.