public class JacksonConfigManager extends Object
Constructor and Description |
---|
JacksonConfigManager(ConfigManager configManager,
com.fasterxml.jackson.databind.ObjectMapper jsonMapper,
AuditManager auditManager) |
Modifier and Type | Method and Description |
---|---|
<T> boolean |
set(String key,
T val,
AuditInfo auditInfo) |
<T> AtomicReference<T> |
watch(String key,
Class<? extends T> clazz) |
<T> AtomicReference<T> |
watch(String key,
Class<? extends T> clazz,
T defaultVal) |
<T> AtomicReference<T> |
watch(String key,
com.fasterxml.jackson.core.type.TypeReference<T> clazz) |
<T> AtomicReference<T> |
watch(String key,
com.fasterxml.jackson.core.type.TypeReference<T> clazz,
T defaultVal) |
@Inject public JacksonConfigManager(ConfigManager configManager, com.fasterxml.jackson.databind.ObjectMapper jsonMapper, AuditManager auditManager)
public <T> AtomicReference<T> watch(String key, Class<? extends T> clazz)
public <T> AtomicReference<T> watch(String key, Class<? extends T> clazz, T defaultVal)
public <T> AtomicReference<T> watch(String key, com.fasterxml.jackson.core.type.TypeReference<T> clazz)
public <T> AtomicReference<T> watch(String key, com.fasterxml.jackson.core.type.TypeReference<T> clazz, T defaultVal)
Copyright © 2011–2015. All rights reserved.