Class ConfigModule

  • All Implemented Interfaces:
    com.google.inject.Module

    public class ConfigModule
    extends OxalisModule
    Since:
    4.0.0
    Author:
    erlend
    • Constructor Detail

      • ConfigModule

        public ConfigModule()
    • Method Detail

      • configure

        protected void configure()
        Overrides:
        configure in class com.google.inject.AbstractModule
      • loadConfigurationFile

        @Provides
        protected com.typesafe.config.Config loadConfigurationFile​(Path homePath)
      • loadConfigurationReference

        @Provides
        protected com.typesafe.config.Config loadConfigurationReference()
      • loadConfiguration

        @Provides
        protected com.typesafe.config.Config loadConfiguration​(com.typesafe.config.Config config,
                                                               com.typesafe.config.Config referenceConfig,
                                                               Set<PostConfig> postConfigs)