public class JsonConfigurator extends Object
Constructor and Description |
---|
JsonConfigurator(com.fasterxml.jackson.databind.ObjectMapper jsonMapper,
javax.validation.Validator validator) |
Modifier and Type | Method and Description |
---|---|
<T> T |
configurate(Properties props,
String propertyPrefix,
Class<T> clazz) |
static <T> void |
verifyClazzIsConfigurable(com.fasterxml.jackson.databind.ObjectMapper mapper,
Class<T> clazz) |
@Inject public JsonConfigurator(com.fasterxml.jackson.databind.ObjectMapper jsonMapper, javax.validation.Validator validator)
public <T> T configurate(Properties props, String propertyPrefix, Class<T> clazz) throws com.google.inject.ProvisionException
com.google.inject.ProvisionException
public static <T> void verifyClazzIsConfigurable(com.fasterxml.jackson.databind.ObjectMapper mapper, Class<T> clazz)
Copyright © 2011–2017. All rights reserved.