use of com.torodb.torod.guice.SqlTorodModule in project torodb by torodb.
the class ToroDbRuntimeModule method configure.
@Override
protected void configure() {
binder().requireExplicitBindings();
bind(BackendService.class).toInstance(backend.getBackendService());
expose(BackendService.class);
install(new D2RModule());
install(new SqlTorodModule());
install(new MongoLayerModule());
expose(MongodServer.class);
expose(TorodbCommandsLibrary.class);
expose(ObjectIdFactory.class);
}
use of com.torodb.torod.guice.SqlTorodModule in project torodb by torodb.
the class StampedeRuntimeModule method configure.
@Override
protected void configure() {
binder().requireExplicitBindings();
bind(ConsistencyHandler.class).toInstance(consistencyHandler);
expose(ConsistencyHandler.class);
bind(BackendService.class).toInstance(backend.getBackendService());
expose(BackendService.class);
install(new D2RModule());
install(new SqlTorodModule());
}
Aggregations