java.lang.Object
io.helidon.service.metadata.Descriptors
Service descriptor utilities.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringLocation of the Helidon service registry metadata file. -
Method Summary
Modifier and TypeMethodDescriptionstatic List<DescriptorMetadata> descriptors(String location, Hson.Array moduleRegistries) Get all service descriptors from the array of descriptors discovered from classpath (or other source).
-
Field Details
-
SERVICE_REGISTRY_LOCATION
Location of the Helidon service registry metadata file.- See Also:
-
-
Method Details
-
descriptors
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
-