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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.
-
-
-
Method Detail
-
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 JacksonObjectMapper
to usepropertyPrefix
- the system property name prefix used by overrides- Returns:
- the new configuration factory
-
-