Package network.oxalis.commons.config
Class ConfigModule
- java.lang.Object
-
- com.google.inject.AbstractModule
-
- network.oxalis.commons.guice.OxalisModule
-
- network.oxalis.commons.config.ConfigModule
-
- All Implemented Interfaces:
com.google.inject.Module
public class ConfigModule extends OxalisModule
- Since:
- 4.0.0
- Author:
- erlend
-
-
Constructor Summary
Constructors Constructor Description ConfigModule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidconfigure()protected com.typesafe.config.ConfigloadConfiguration(com.typesafe.config.Config config, com.typesafe.config.Config referenceConfig, Set<PostConfig> postConfigs)protected com.typesafe.config.ConfigloadConfigurationFile(Path homePath)protected com.typesafe.config.ConfigloadConfigurationReference()-
Methods inherited from class network.oxalis.commons.guice.OxalisModule
bindSettings, bindTyped, bindTyped
-
Methods inherited from class com.google.inject.AbstractModule
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
-
-
-
-
Method Detail
-
configure
protected void configure()
- Overrides:
configurein classcom.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)
-
-