本文整理匯總了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");
}