use of com.peterphi.std.guice.common.retry.module.RetryModule in project stdlib by petergeneric.
the class CoreGuiceRole method register.
@Override
public void register(final Stage stage, final ClassScannerFactory scanner, final GuiceConfig config, final GuiceSetup setup, final List<Module> modules, final AtomicReference<Injector> injectorRef, final MetricRegistry metrics) {
modules.add(new ServicePropertiesModule(config));
modules.add(new ConfigurationPropertyRegistryModule(config, injectorRef));
modules.add(new GuiceLifecycleModule());
modules.add(new CoreMetricsModule(metrics));
modules.add(new CacheModule(metrics));
modules.add(new RetryModule(metrics));
modules.add(new JAXBModule(config));
modules.add(new Log4JModule(config, metrics));
}
Aggregations