本文整理了Java中com.palominolabs.benchpress.controller.zookeeper.ZKServerModule.<init>()
方法的一些代码示例,展示了ZKServerModule.<init>()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ZKServerModule.<init>()
方法的具体详情如下:
包路径:com.palominolabs.benchpress.controller.zookeeper.ZKServerModule
类名称:ZKServerModule
方法名:<init>
暂无
代码示例来源:origin: palominolabs/benchpress
@Override
protected void configure() {
binder().requireExplicitBindings();
binder().requireAtInjectOnConstructors();
binder().requireExactBindingAnnotations();
bind(ControllerMain.class);
install(new ConfigModuleBuilder().addConfiguration(new SystemConfiguration()).build());
ConfigModule.bindConfigBean(binder(), ControllerConfig.class);
install(new ControllerCoreModule());
install(new IpcJsonModule());
install(new TaskPluginRegistryModule());
install(new JerseySupportModule());
install(new ZKServerModule());
install(new CuratorModule());
}
代码示例来源:origin: palominolabs/benchpress
@Override
protected void configure() {
binder().requireExplicitBindings();
binder().requireAtInjectOnConstructors();
binder().requireExactBindingAnnotations();
bind(ControllerMain.class);
install(new ConfigModuleBuilder().build());
install(new CassandraModule());
install(new HbaseModule());
install(new HbaseAsyncModule());
install(new MongoDbModule());
install(new KeyGeneratorFactoryFactoryRegistryModule());
install(new ValueGeneratorFactoryFactoryRegistryModule());
install(new ControllerCoreModule());
install(new IpcJsonModule());
install(new TaskPluginRegistryModule());
install(new JerseySupportModule());
install(new ZKServerModule());
install(new CuratorModule());
}
代码示例来源:origin: palominolabs/benchpress
@Override
protected void configure() {
binder().requireExplicitBindings();
binder().requireAtInjectOnConstructors();
binder().requireExactBindingAnnotations();
install(new ConfigModuleBuilder().addConfiguration(new MapConfiguration(configMap))
.build());
install(new JerseySupportModule());
// basic zookeeper
install(new ZKServerModule());
install(new CuratorModule());
// controller
install(new IpcJsonModule());
install(new ControllerCoreModule());
// worker
install(new TaskProgressClientModule());
install(new IpcHttpClientModule());
install(new TaskPluginRegistryModule());
install(new WorkerResourceModule());
bind(SliceRunner.class);
// custom task
install(new SimpleHttpTaskModule());
bind(SimpleHttpResource.class);
}
内容来源于网络,如有侵权,请联系作者删除!