public void startRuntime() { EventService eventService = runtime.getComponent(EventService.class); eventService.publish(new JoinDomain()); eventService.publish(new JoinDomainCompleted()); // signal runtime start eventService.publish(new RuntimeStart()); state = RuntimeState.STARTED; runtime.getComponent(HostInfo.class).notifyCallbacks(); }
public void startRuntime() { EventService eventService = runtime.getComponent(EventService.class); eventService.publish(new JoinDomain()); eventService.publish(new JoinDomainCompleted()); // signal runtime start eventService.publish(new RuntimeStart()); state = RuntimeState.STARTED; runtime.getComponent(HostInfo.class).notifyCallbacks(); }