本文整理汇总了Java中org.jai.search.setup.SetupIndexService类的典型用法代码示例。如果您正苦于以下问题:Java SetupIndexService类的具体用法?Java SetupIndexService怎么用?Java SetupIndexService使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
SetupIndexService类属于org.jai.search.setup包,在下文中一共展示了SetupIndexService类的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: setupIndexMasterActor
import org.jai.search.setup.SetupIndexService; //导入依赖的package包/类
@Bean(autowire = Autowire.BY_NAME, name = "setupIndexMasterActor")
// @Scope("prototype")
@DependsOn(value = { "actorSystem" })
public ActorRef setupIndexMasterActor() {
final ActorSystem system = applicationContext
.getBean(ActorSystem.class);
final SetupIndexService setupIndexService = applicationContext
.getBean(SetupIndexService.class);
final SampleDataGeneratorService sampleDataGeneratorService = applicationContext
.getBean(SampleDataGeneratorService.class);
final IndexProductDataService indexProductData = applicationContext
.getBean(IndexProductDataService.class);
return system.actorOf(
Props.create(SetupIndexMasterActor.class, setupIndexService,
sampleDataGeneratorService, indexProductData)
.withDispatcher("setupIndexMasterActorDispatch"),
"setupIndexMasterActor");
}
示例2: SetupIndexWorkerActor
import org.jai.search.setup.SetupIndexService; //导入依赖的package包/类
public SetupIndexWorkerActor(final SetupIndexService setupIndexService, final SampleDataGeneratorService sampleDataGeneratorService,
final IndexProductDataService indexProductDataService)
{
this.setupIndexService = setupIndexService;
workerRouter = getContext().actorOf(
Props.create(SetupDocumentTypeWorkerActor.class, sampleDataGeneratorService, indexProductDataService)
.withDispatcher("setupDocumentTypeWorkerActorDispatcher").withRouter(new FromConfig()),
"setupDocumentTypeWorkerActor");
}
示例3: SetupIndexMasterActor
import org.jai.search.setup.SetupIndexService; //导入依赖的package包/类
public SetupIndexMasterActor(final SetupIndexService setupIndexService, final SampleDataGeneratorService sampleDataGeneratorService,
final IndexProductDataService indexProductDataService)
{
workerRouter = getContext().actorOf(
Props.create(SetupIndexWorkerActor.class, setupIndexService, sampleDataGeneratorService, indexProductDataService)
.withDispatcher("setupIndexWorkerActorDispatcher").withRouter(new FromConfig()), "setupIndexWorkerActor");
}
示例4: setupIndexMasterActor
import org.jai.search.setup.SetupIndexService; //导入依赖的package包/类
@Bean(autowire = Autowire.BY_NAME, name = "setupIndexMasterActor")
// @Scope("prototype")
@DependsOn(value = { "actorSystem" })
public ActorRef setupIndexMasterActor()
{
final ActorSystem system = applicationContext.getBean(ActorSystem.class);
final SetupIndexService setupIndexService = applicationContext.getBean(SetupIndexService.class);
final SampleDataGeneratorService sampleDataGeneratorService = applicationContext.getBean(SampleDataGeneratorService.class);
final IndexProductDataService indexProductData = applicationContext.getBean(IndexProductDataService.class);
return system.actorOf(Props.create(SetupIndexMasterActor.class, setupIndexService, sampleDataGeneratorService, indexProductData)
.withDispatcher("setupIndexMasterActorDispatch"), "setupIndexMasterActor");
}
示例5: SetupIndexWorkerActor
import org.jai.search.setup.SetupIndexService; //导入依赖的package包/类
public SetupIndexWorkerActor(final SetupIndexService setupIndexService,
final SampleDataGeneratorService sampleDataGeneratorService,
final IndexProductDataService indexProductDataService) {
this.setupIndexService = setupIndexService;
workerRouter = getContext().actorOf(
Props.create(SetupDocumentTypeWorkerActor.class,
sampleDataGeneratorService, indexProductDataService)
.withDispatcher(
"setupDocumentTypeWorkerActorDispatcher")
.withRouter(new FromConfig()),
"setupDocumentTypeWorkerActor");
}
示例6: SetupIndexMasterActor
import org.jai.search.setup.SetupIndexService; //导入依赖的package包/类
public SetupIndexMasterActor(final SetupIndexService setupIndexService,
final SampleDataGeneratorService sampleDataGeneratorService,
final IndexProductDataService indexProductDataService) {
workerRouter = getContext().actorOf(
Props.create(SetupIndexWorkerActor.class, setupIndexService,
sampleDataGeneratorService, indexProductDataService)
.withDispatcher("setupIndexWorkerActorDispatcher")
.withRouter(new FromConfig()), "setupIndexWorkerActor");
}