public class JacksonConfigProvider<T> extends Object implements com.google.inject.Provider<com.google.common.base.Supplier<T>>
Modifier and Type | Method and Description |
---|---|
static <T> void |
bind(com.google.inject.Binder binder,
String key,
Class<T> clazz,
T defaultVal) |
void |
configure(JacksonConfigManager configManager) |
com.google.common.base.Supplier<T> |
get() |
static <T> JacksonConfigProvider<T> |
of(String key,
Class<T> clazz) |
static <T> JacksonConfigProvider<T> |
of(String key,
Class<T> clazz,
T defaultVal) |
static <T> JacksonConfigProvider<T> |
of(String key,
com.fasterxml.jackson.core.type.TypeReference<T> clazz) |
static <T> JacksonConfigProvider<T> |
of(String key,
com.fasterxml.jackson.core.type.TypeReference<T> typeRef,
T defaultVal) |
public static <T> void bind(com.google.inject.Binder binder, String key, Class<T> clazz, T defaultVal)
public static <T> JacksonConfigProvider<T> of(String key, Class<T> clazz)
public static <T> JacksonConfigProvider<T> of(String key, Class<T> clazz, T defaultVal)
public static <T> JacksonConfigProvider<T> of(String key, com.fasterxml.jackson.core.type.TypeReference<T> clazz)
public static <T> JacksonConfigProvider<T> of(String key, com.fasterxml.jackson.core.type.TypeReference<T> typeRef, T defaultVal)
@Inject public void configure(JacksonConfigManager configManager)
Copyright © 2011–2015. All rights reserved.