use of com.netflix.conductor.grpc.server.GRPCModule in project conductor by Netflix.
the class ServerModule method configure.
@Override
protected void configure() {
install(new CoreModule());
install(new ValidationModule());
install(new ArchaiusModule());
install(new JettyModule());
install(new GRPCModule());
install(new EventModule());
bindInterceptor(Matchers.any(), Matchers.annotatedWith(Service.class), new ServiceInterceptor(getProvider(Validator.class)));
bind(Configuration.class).to(SystemPropertiesConfiguration.class).in(Scopes.SINGLETON);
bind(ExecutorService.class).toProvider(ExecutorServiceProvider.class).in(Scopes.SINGLETON);
bind(WorkflowSweeper.class).asEagerSingleton();
bind(WorkflowMonitor.class).asEagerSingleton();
}
Aggregations