code: public List<ComponentDeclaration> getDeclaredComponents(InputStream componentListStream) throws IOException
      {
          List<ComponentDeclaration> annotatedClassNames = new ArrayList<>();
  
          // Read all components definition from the URL
          // Always force UTF-8 as the encoding, since these files are read from the official jars, and those are
          // generated on an 8-bit system.
          BufferedReader in = new BufferedReader(new InputStreamReader(componentListStream, COMPONENT_LIST_ENCODING));
          String inputLine;
          while ((inputLine = in.readLine()) != null) {
              // Make sure we don't add empty lines
              if (inputLine.trim().length() > 0) {
                  try {
                      String[] chunks = inputLine.split(":");
                      ComponentDeclaration componentDeclaration;
                      if (chunks.length > 1) {
                          componentDeclaration = new ComponentDeclaration(chunks[1], Integer.parseInt(chunks[0]));
                      } else {
                          componentDeclaration = new ComponentDeclaration(chunks[0]);
                      }
                      LOGGER.debug("  - Adding component definition [{}] with priority [{}]",
                          componentDeclaration.getImplementationClassName(), componentDeclaration.getPriority());
                      annotatedClassNames.add(componentDeclaration);
                  } catch (Exception e) {
                      getLogger().error("Failed to parse component declaration from [{}]", inputLine, e);
                  }
              }
          }
  
          return annotatedClassNames;
      }
docs: Get all components listed in the passed resource stream. The format is:
  {@code (priority level):(fully qualified component implementation name)}.
  
  @param componentListStream the stream to parse
  @return the list of component declaration (implementation class names and priorities)
  @throws IOException in case of an error loading the component list resource
  @since 3.3M1