Package io.elastic.sailor
Class ServiceEnvironmentModule
java.lang.Object
com.google.inject.AbstractModule
io.elastic.sailor.ServiceEnvironmentModule
- All Implemented Interfaces:
com.google.inject.Module
public class ServiceEnvironmentModule
extends com.google.inject.AbstractModule
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
static boolean
getOptionalBooleanValue
(String key, boolean defaultValue) static int
getOptionalIntegerValue
(String key, int defaultValue) static long
getOptionalLongValue
(String key, long defaultValue) static boolean
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
-
Constructor Details
-
ServiceEnvironmentModule
public ServiceEnvironmentModule()
-
-
Method Details
-
configure
protected void configure()- Overrides:
configure
in classcom.google.inject.AbstractModule
-
getOptionalIntegerValue
-
getOptionalLongValue
-
getOptionalYesNoValue
-
getOptionalBooleanValue
-