public class DefaultConfigurationFactoryFactory<T> extends Object implements ConfigurationFactoryFactory<T>
Constructor and Description |
---|
DefaultConfigurationFactoryFactory() |
Modifier and Type | Method and 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(Class<T> klass,
javax.validation.Validator validator,
com.fasterxml.jackson.databind.ObjectMapper objectMapper,
String propertyPrefix) |
public ConfigurationFactory<T> create(Class<T> klass, javax.validation.Validator validator, com.fasterxml.jackson.databind.ObjectMapper objectMapper, 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 © 2020. All rights reserved.