Interface JacksonModuleProvider

All Known Implementing Classes:
FabricJacksonModuleProvider

public interface JacksonModuleProvider
Service-provider interface that lets each domain contribute its own Jackson (de)serializers to the SDK's shared Constants.mapper() without core having to depend on any domain package.

Implementations are discovered at mapper-construction time via ServiceLoader and must be registered in META-INF/services/com.eqixiac.equinix.core.internal.JacksonModuleProvider.

Author:
ianjones
  • Method Summary

    Modifier and Type
    Method
    Description
    com.fasterxml.jackson.databind.Module
    Returns a Jackson Module bundling this domain's custom (de)serializers.
  • Method Details

    • getModule

      com.fasterxml.jackson.databind.Module getModule()
      Returns a Jackson Module bundling this domain's custom (de)serializers.
      Returns:
      the module to register on the shared ObjectMapper