Class SimpleEventContextModule
java.lang.Object
com.google.inject.PrivateModule
dev.getelements.elements.rt.guice.SimpleEventContextModule
- All Implemented Interfaces:
com.google.inject.Module
public class SimpleEventContextModule
extends com.google.inject.PrivateModule
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
Specifies theSimpleEventService
timeout to the default values.withTimeout
(long duration, TimeUnit sourceUnits) Specifies theSimpleEventService
timeout.Methods inherited from class com.google.inject.PrivateModule
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindListener, bindScope, configure, convertToTypes, currentStage, expose, expose, expose, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
-
Constructor Details
-
SimpleEventContextModule
public SimpleEventContextModule()
-
-
Method Details
-
withDefaultTimeout
Specifies theSimpleEventService
timeout to the default values. -
withTimeout
Specifies theSimpleEventService
timeout.- Parameters:
duration
- the durationsourceUnits
- the units
-
configure
protected void configure()- Specified by:
configure
in classcom.google.inject.PrivateModule
-