Added missing bindings in Guice integration

This commit is contained in:
Trustin Lee 2009-06-18 09:01:07 +00:00
parent ce3bf8fbab
commit 8c1335dac1

View File

@ -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);
}
}