Class Descriptors

java.lang.Object
io.helidon.service.metadata.Descriptors

public class Descriptors extends Object
Service descriptor utilities.
  • Field Details

    • SERVICE_REGISTRY_LOCATION

      public static final String SERVICE_REGISTRY_LOCATION
      Location of the Helidon service registry metadata file.
      See Also:
  • Method Details

    • descriptors

      public static List<DescriptorMetadata> descriptors(String location, Hson.Array moduleRegistries)
      Get all service descriptors from the array of descriptors discovered from classpath (or other source).
      Parameters:
      location - where was thi array obtained (such as "Classpath URL: ...")
      moduleRegistries - array of modules
      Returns:
      a list of descriptor metadata
      Throws:
      IllegalStateException - in case the format is not as expected