Package io.dropwizard.configuration
Interface ConfigurationFactoryFactory<T>
- Type Parameters:
T- the type of the configuration objects to produce
- All Known Implementing Classes:
DefaultConfigurationFactoryFactory
public interface ConfigurationFactoryFactory<T>
A generic interface for constructing a configuration factory that can create configuration objects.
-
Method Summary
-
Method Details
-
create
ConfigurationFactory<T> create(Class<T> klass, jakarta.validation.Validator validator, com.fasterxml.jackson.databind.ObjectMapper objectMapper, String propertyPrefix) Creates a new configuration factory for the given class.- Parameters:
klass- the configuration classvalidator- the validator to useobjectMapper- the JacksonObjectMapperto usepropertyPrefix- the system property name prefix used by overrides- Returns:
- the new configuration factory
-