- java.lang.Object
-
- io.helidon.media.jsonb.JsonbProvider
-
- All Implemented Interfaces:
MediaSupportProvider
public class JsonbProvider extends Object implements MediaSupportProvider
JSON-B support SPI provider.
-
-
Constructor Summary
Constructors Constructor Description JsonbProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
configKey()
Config key expected undermedia-support.services.config
.MediaSupport
create(Config config)
Create a new service instance based on configuration.
-
-
-
Method Detail
-
create
public MediaSupport create(Config config)
Description copied from interface:MediaSupportProvider
Create a new service instance based on configuration.- Specified by:
create
in interfaceMediaSupportProvider
- Parameters:
config
- configuration of this service, never null- Returns:
- a new media service instance
-
configKey
public String configKey()
Description copied from interface:MediaSupportProvider
Config key expected undermedia-support.services.config
.- Specified by:
configKey
in interfaceMediaSupportProvider
- Returns:
- name of the configuration node of this service
-
-