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 voidstatic booleangetOptionalBooleanValue(String key, boolean defaultValue) static intgetOptionalIntegerValue(String key, int defaultValue) static longgetOptionalLongValue(String key, long defaultValue) static booleanMethods 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:
configurein classcom.google.inject.AbstractModule
-
getOptionalIntegerValue
-
getOptionalLongValue
-
getOptionalYesNoValue
-
getOptionalBooleanValue
-