ConfigurationFactoryFactory<T>public class DefaultConfigurationFactoryFactory<T> extends java.lang.Object implements ConfigurationFactoryFactory<T>
| Constructor | Description |
|---|---|
DefaultConfigurationFactoryFactory() |
| Modifier and Type | Method | Description |
|---|---|---|
protected com.fasterxml.jackson.databind.ObjectMapper |
configureObjectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
Provides additional configuration for the
ObjectMapper used to read
the configuration. |
ConfigurationFactory<T> |
create(java.lang.Class<T> klass,
javax.validation.Validator validator,
com.fasterxml.jackson.databind.ObjectMapper objectMapper,
java.lang.String propertyPrefix) |
public ConfigurationFactory<T> create(java.lang.Class<T> klass, javax.validation.Validator validator, com.fasterxml.jackson.databind.ObjectMapper objectMapper, java.lang.String propertyPrefix)
create in interface ConfigurationFactoryFactory<T>protected com.fasterxml.jackson.databind.ObjectMapper configureObjectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
ObjectMapper used to read
the configuration. By default DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES
is enabled to protect against misconfiguration.objectMapper - template to be configuredCopyright © 2018. All rights reserved.