mirror of https://github.com/apache/druid.git
i hate guice
This commit is contained in:
parent
af1185b58c
commit
4f0c0c5ae2
|
@ -125,6 +125,8 @@ public class CliPeon extends GuiceRunnable
|
||||||
.to(ServiceAnnouncingChatHandlerProvider.class).in(LazySingleton.class);
|
.to(ServiceAnnouncingChatHandlerProvider.class).in(LazySingleton.class);
|
||||||
handlerProviderBinder.addBinding("noop")
|
handlerProviderBinder.addBinding("noop")
|
||||||
.to(NoopChatHandlerProvider.class).in(LazySingleton.class);
|
.to(NoopChatHandlerProvider.class).in(LazySingleton.class);
|
||||||
|
binder.bind(ServiceAnnouncingChatHandlerProvider.class).in(LazySingleton.class);;
|
||||||
|
binder.bind(NoopChatHandlerProvider.class).in(LazySingleton.class);
|
||||||
|
|
||||||
binder.bind(TaskToolboxFactory.class).in(LazySingleton.class);
|
binder.bind(TaskToolboxFactory.class).in(LazySingleton.class);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue