Interface MediaSupportProvider

All Known Implementing Classes:
JacksonProvider, JsonbProvider, JsonpProvider

public interface MediaSupportProvider
Java service loader interface.
  • Method Summary

    Modifier and Type
    Method
    Description
    default String
    Config key expected under media-support.services.config.
    create(Config config)
    Create a new service instance based on configuration.
  • Method Details

    • configKey

      default String configKey()
      Config key expected under media-support.services.config.
      Returns:
      name of the configuration node of this service
    • create

      MediaSupport create(Config config)
      Create a new service instance based on configuration.
      Parameters:
      config - configuration of this service, never null
      Returns:
      a new media service instance