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 Detail

      • create

        ConfigurationFactory<T> create​(Class<T> klass,
                                       javax.validation.Validator validator,
                                       com.fasterxml.jackson.databind.ObjectMapper objectMapper,
                                       String propertyPrefix)
        Creates a new configuration factory for the given class.
        Parameters:
        klass - the configuration class
        validator - the validator to use
        objectMapper - the Jackson ObjectMapper to use
        propertyPrefix - the system property name prefix used by overrides
        Returns:
        the new configuration factory