Class ObjectMapperModule.ObjectMapperProvider

java.lang.Object
com.fasterxml.jackson.module.guice.ObjectMapperModule.ObjectMapperProvider
All Implemented Interfaces:
com.google.inject.Provider<com.fasterxml.jackson.databind.ObjectMapper>, jakarta.inject.Provider<com.fasterxml.jackson.databind.ObjectMapper>, javax.inject.Provider<com.fasterxml.jackson.databind.ObjectMapper>
Enclosing class:
ObjectMapperModule

private static class ObjectMapperModule.ObjectMapperProvider extends Object implements com.google.inject.Provider<com.fasterxml.jackson.databind.ObjectMapper>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private com.google.inject.Injector
     
    private final List<com.fasterxml.jackson.databind.Module>
     
    private final List<com.google.inject.Key<? extends com.fasterxml.jackson.databind.Module>>
     
    private final com.fasterxml.jackson.databind.ObjectMapper
     
    private final List<com.google.inject.Provider<? extends com.fasterxml.jackson.databind.Module>>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    ObjectMapperProvider(List<com.google.inject.Key<? extends com.fasterxml.jackson.databind.Module>> modulesToInject, List<com.fasterxml.jackson.databind.Module> modulesToAdd, com.fasterxml.jackson.databind.ObjectMapper mapper)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    configure(com.google.inject.Injector inj)
     
    com.fasterxml.jackson.databind.ObjectMapper
    get()
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • modulesToInject

      private final List<com.google.inject.Key<? extends com.fasterxml.jackson.databind.Module>> modulesToInject
    • modulesToAdd

      private final List<com.fasterxml.jackson.databind.Module> modulesToAdd
    • providedModules

      private final List<com.google.inject.Provider<? extends com.fasterxml.jackson.databind.Module>> providedModules
    • injector

      private com.google.inject.Injector injector
    • objectMapper

      private final com.fasterxml.jackson.databind.ObjectMapper objectMapper
  • Constructor Details

    • ObjectMapperProvider

      public ObjectMapperProvider(List<com.google.inject.Key<? extends com.fasterxml.jackson.databind.Module>> modulesToInject, List<com.fasterxml.jackson.databind.Module> modulesToAdd, com.fasterxml.jackson.databind.ObjectMapper mapper)
  • Method Details

    • configure

      @Inject public void configure(com.google.inject.Injector inj)
    • get

      public com.fasterxml.jackson.databind.ObjectMapper get()
      Specified by:
      get in interface com.google.inject.Provider<com.fasterxml.jackson.databind.ObjectMapper>
      Specified by:
      get in interface jakarta.inject.Provider<com.fasterxml.jackson.databind.ObjectMapper>
      Specified by:
      get in interface javax.inject.Provider<com.fasterxml.jackson.databind.ObjectMapper>