use of org.smartdata.server.engine.cmdlet.HazelcastExecutorService in project SSM by Intel-bigdata.
the class SmartEngine method init.
@Override
public void init() throws IOException {
statesMgr = new StatesManager(serverContext);
services.add(statesMgr);
cmdletManager = new CmdletManager(serverContext);
services.add(cmdletManager);
agentService = new AgentExecutorService(conf, cmdletManager);
hazelcastService = new HazelcastExecutorService(cmdletManager);
cmdletManager.registerExecutorService(agentService);
cmdletManager.registerExecutorService(hazelcastService);
ruleMgr = new RuleManager(serverContext, statesMgr, cmdletManager);
services.add(ruleMgr);
for (AbstractService s : services) {
s.init();
}
}
Aggregations