Added missing bindings in Guice integration
This commit is contained in:
parent
ce3bf8fbab
commit
8c1335dac1
@ -115,5 +115,13 @@ public class NettyModule extends AbstractModule {
|
||||
bind(LocalServerChannelFactory.class).
|
||||
to(DefaultLocalServerChannelFactory.class).
|
||||
in(Scopes.SINGLETON);
|
||||
|
||||
bind(DefaultLocalClientChannelFactory.class).
|
||||
to(DefaultLocalClientChannelFactory.class).
|
||||
in(Scopes.SINGLETON);
|
||||
|
||||
bind(DefaultLocalServerChannelFactory.class).
|
||||
to(DefaultLocalServerChannelFactory.class).
|
||||
in(Scopes.SINGLETON);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user