Class GuiceModule
java.lang.Object
com.google.inject.AbstractModule
com.arpnetworking.clusteraggregator.GuiceModule
- All Implemented Interfaces:
com.google.inject.Module
public class GuiceModule
extends com.google.inject.AbstractModule
The primary Guice module used to bootstrap the cluster aggregator. NOTE: this module will be constructed whenever
a new configuration is loaded, and will be torn down when another configuration is loaded.
- Author:
- Brandon Arp (brandon dot arp at inscopemetrics dot com)
-
Constructor Summary
ConstructorDescriptionGuiceModule
(ClusterAggregatorConfiguration configuration, LifecycleRegistration shutdown) Public constructor. -
Method Summary
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, requestInjection, requestStaticInjection, requireBinding, requireBinding
-
Constructor Details
-
GuiceModule
Public constructor.- Parameters:
configuration
- The configuration.shutdown
- The shutdown hook.
-
-
Method Details
-
configure
protected void configure()- Overrides:
configure
in classcom.google.inject.AbstractModule
-