Class MetadataConstants

java.lang.Object
io.helidon.metadata.MetadataConstants

public final class MetadataConstants extends Object
Constants used during metadata discovery.

For backward compatibility, we must explicitly list the files that should be loaded, as we expected their location directly under LOCATION, without a directory structure and a manifest file.

  • Field Details

    • LOCATION

      public static final String LOCATION
      Default location of the metadata files, this is expected to be a directory that is the same in every jar file. Files in this location will be explicitly added only if they match the provided metadata file name.
      See Also:
    • MEDIA_TYPES_FILE

      public static final String MEDIA_TYPES_FILE
      Custom media type mappings.

      File name is: "media-types.properties"

      See Also:
    • SERVICE_REGISTRY_FILE

      public static final String SERVICE_REGISTRY_FILE
      Service registry JSON.

      File name is: "service-registry.json"

      See Also:
    • SERVICE_LOADER_FILE

      public static final String SERVICE_LOADER_FILE
      List of services to load from Java ServiceLoader for Service registry.

      File name is: "service.loader"

      See Also:
    • FEATURE_REGISTRY_FILE

      public static final String FEATURE_REGISTRY_FILE
      Feature registry JSON.

      File name is: "feature-registry.json"

      See Also:
    • FEATURE_METADATA_FILE

      @Deprecated(forRemoval=true, since="4.3.0") public static final String FEATURE_METADATA_FILE
      Deprecated, for removal: This API element is subject to removal in a future version.
      Feature metadata properties. This file is deprecated, because it cannot be merged.

      File name is: "feature-metadata.properties"

      See Also:
    • CONFIG_METADATA_FILE

      public static final String CONFIG_METADATA_FILE
      Configuration metadata JSON.

      File name is: "config-metadata.json"

      See Also:
    • SERIAL_CONFIG_FILE

      public static final String SERIAL_CONFIG_FILE
      Configuration for Java deserialization.

      File name is: "serial-config.properties"

      See Also:
    • MANIFEST_FILE

      public static final String MANIFEST_FILE
      Name of the manifest file, expected under the configured root location.
      See Also:
    • MANIFEST_ID_LINE

      public static final String MANIFEST_ID_LINE
      Line that must be exactly once in each module's manifest file. It is used to identify that we have (correctly) merged manifest files when running a shaded jar.

      Value: "#HELIDON MANIFEST#"

      See Also: