@Test public void testStartup() { Mockito.verify(liveActivityRunnerSampler).startup(); }
@Override public void startup() { activityStateTransitioners = new SimpleGoalStateTransitionerCollection<ActivityState, ActivityControl>(); activityInstallationManager.addActivityInstallationListener(activityInstallationListener); liveActivityRunnerSampler.startup(); liveActivityRunnerFactory.startup(); runtimeDebugService.startup(); liveActivityRuntimeComponentFactory.registerCoreServices(getSpaceEnvironment().getServiceRegistry()); for (LiveActivityRuntimeListener listener : runtimeListeners) { try { listener.onLiveActivityRuntimeStartup(this); } catch (Throwable e) { getSpaceEnvironment().getExtendedLog().formatError(e, "Error on live activity runtime onStartup call"); } } }
StandardLiveActivityRuntime extends BaseActivityRuntime implements LiveActivityRuntime, LiveActivityRunnerListener { @Override public void startup() { activityStateTransitioners = new SimpleGoalStateTransitionerCollection<ActivityState, ActivityControl>(); activityInstallationManager.addActivityInstallationListener(activityInstallationListener); liveActivityRunnerSampler.startup(); liveActivityRunnerFactory.startup(); runtimeDebugService.startup(); liveActivityRuntimeComponentFactory.registerCoreServices(getSpaceEnvironment().getServiceRegistry()); for (LiveActivityRuntimeListener listener : runtimeListeners) { try { listener.onLiveActivityRuntimeStartup(this); } catch (Throwable e) { getSpaceEnvironment().getExtendedLog().formatError(e, "Error on live activity runtime onStartup call"); } } } }
StandardLiveActivityRuntime extends BaseActivityRuntime implements LiveActivityRuntime, LiveActivityRunnerListener { @Override public void startup() { activityStateTransitioners = new SimpleGoalStateTransitionerCollection<ActivityState, ActivityControl>(); activityInstallationManager.addActivityInstallationListener(activityInstallationListener); liveActivityRunnerSampler.startup(); liveActivityRunnerFactory.startup(); runtimeDebugService.startup(); liveActivityRuntimeComponentFactory.registerCoreServices(getSpaceEnvironment().getServiceRegistry()); for (LiveActivityRuntimeListener listener : runtimeListeners) { try { listener.onLiveActivityRuntimeStartup(this); } catch (Throwable e) { getSpaceEnvironment().getExtendedLog().formatError(e, "Error on live activity runtime onStartup call"); } } } StandardLiveActivityRuntime(LiveActivityRuntimeComponentFactory liveActivityRuntimeComponentFactory,
      LocalLiveActivityRepository liveActivityRepository, ActivityInstallationManager activityInstallationManager,
      LiveActivityLogFactory activityLogFactory, LiveActivityConfigurationManager configurationManager,
      LiveActivityStorageManager activityStorageManager, AlertStatusManager alertStatusManager,
      SequentialEventQueue eventQueue, RemoteLiveActivityRuntimeMonitorService runtimeDebugService,
      InteractiveSpacesEnvironment spaceEnvironment); }
StandardLiveActivityRuntime extends BaseActivityRuntime implements LiveActivityRuntime, LiveActivityRunnerListener { @Override public void startup() { activityStateTransitioners = new SimpleGoalStateTransitionerCollection<ActivityState, ActivityControl>(); activityInstallationManager.addActivityInstallationListener(activityInstallationListener); liveActivityRunnerSampler.startup(); liveActivityRunnerFactory.startup(); runtimeDebugService.startup(); liveActivityRuntimeComponentFactory.registerCoreServices(getSpaceEnvironment().getServiceRegistry()); for (LiveActivityRuntimeListener listener : runtimeListeners) { try { listener.onLiveActivityRuntimeStartup(this); } catch (Throwable e) { getSpaceEnvironment().getExtendedLog().formatError(e, "Error on live activity runtime onStartup call"); } } } StandardLiveActivityRuntime(LiveActivityRuntimeComponentFactory liveActivityRuntimeComponentFactory,
      LocalLiveActivityRepository liveActivityRepository, ActivityInstallationManager activityInstallationManager,
      LiveActivityLogFactory activityLogFactory, LiveActivityConfigurationManager configurationManager,
      LiveActivityStorageManager activityStorageManager, AlertStatusManager alertStatusManager,
      SequentialEventQueue eventQueue, RemoteLiveActivityRuntimeMonitorService runtimeDebugService,
      InteractiveSpacesEnvironment spaceEnvironment); @Override void addRuntimeListener(LiveActivityRuntimeListener listener); @Override void removeRuntimeListener(LiveActivityRuntimeListener listener); @Override void startup(); @Override void shutdown(); @Override void startupAllActivities(); @Override void shutdownAllActivities(); @Override List<InstalledLiveActivity> getAllInstalledLiveActivities(); @Override void startupLiveActivity(String uuid); @Override void shutdownLiveActivity(final String uuid); @Override void statusLiveActivity(String uuid); @Override void activateLiveActivity(String uuid); @Override void deactivateLiveActivity(String uuid); @Override void configureLiveActivity(String uuid, Map<String, String> configuration); @Override void cleanLiveActivityTmpData(String uuid); @Override void cleanLiveActivityPermanentData(String uuid); @Override void initializeActivityInstance(InstalledLiveActivity installedActivity,
      ActivityFilesystem activityFilesystem, Activity instance, Configuration configuration, Log activityLog,
      ActivityExecutionContext executionContext); @Override void onNoInstanceActivityStatusEvent(LiveActivityRunner liveActivityRunner); @Override Log getActivityLog(InstalledLiveActivity installedActivity, Configuration configuration,
      ActivityFilesystem activityFilesystem); @Override void releaseActivityLog(Log activityLog); @Override LiveActivityRunner getLiveActivityRunnerByUuid(String uuid); @Override boolean hasLiveActivitiesRunning(); @Override boolean isLiveActivityRunning(String uuid); Collection<LiveActivityRunner> getAllActiveActivities(); @Override void setLiveActivityStatusPublisher(LiveActivityStatusPublisher liveActivityStatusPublisher); @Override LiveActivityRunnerFactory getLiveActivityRunnerFactory(); @Override LiveActivityStorageManager getLiveActivityStorageManager(); }
StandardLiveActivityRuntime extends BaseActivityRuntime implements LiveActivityRuntime, LiveActivityRunnerListener { @Override public void startup() { activityStateTransitioners = new SimpleGoalStateTransitionerCollection<ActivityState, ActivityControl>(); activityInstallationManager.addActivityInstallationListener(activityInstallationListener); liveActivityRunnerSampler.startup(); liveActivityRunnerFactory.startup(); runtimeDebugService.startup(); liveActivityRuntimeComponentFactory.registerCoreServices(getSpaceEnvironment().getServiceRegistry()); for (LiveActivityRuntimeListener listener : runtimeListeners) { try { listener.onLiveActivityRuntimeStartup(this); } catch (Throwable e) { getSpaceEnvironment().getExtendedLog().formatError(e, "Error on live activity runtime onStartup call"); } } } StandardLiveActivityRuntime(LiveActivityRuntimeComponentFactory liveActivityRuntimeComponentFactory,
      LocalLiveActivityRepository liveActivityRepository, ActivityInstallationManager activityInstallationManager,
      LiveActivityLogFactory activityLogFactory, LiveActivityConfigurationManager configurationManager,
      LiveActivityStorageManager activityStorageManager, AlertStatusManager alertStatusManager,
      SequentialEventQueue eventQueue, RemoteLiveActivityRuntimeMonitorService runtimeDebugService,
      InteractiveSpacesEnvironment spaceEnvironment); @Override void addRuntimeListener(LiveActivityRuntimeListener listener); @Override void removeRuntimeListener(LiveActivityRuntimeListener listener); @Override void startup(); @Override void shutdown(); @Override void startupAllActivities(); @Override void shutdownAllActivities(); @Override List<InstalledLiveActivity> getAllInstalledLiveActivities(); @Override void startupLiveActivity(String uuid); @Override void shutdownLiveActivity(final String uuid); @Override void statusLiveActivity(String uuid); @Override void activateLiveActivity(String uuid); @Override void deactivateLiveActivity(String uuid); @Override void configureLiveActivity(String uuid, Map<String, String> configuration); @Override void cleanLiveActivityTmpData(String uuid); @Override void cleanLiveActivityPermanentData(String uuid); @Override void initializeActivityInstance(InstalledLiveActivity installedActivity,
      ActivityFilesystem activityFilesystem, Activity instance, Configuration configuration, Log activityLog,
      ActivityExecutionContext executionContext); @Override void onNoInstanceActivityStatusEvent(LiveActivityRunner liveActivityRunner); @Override Log getActivityLog(InstalledLiveActivity installedActivity, Configuration configuration,
      ActivityFilesystem activityFilesystem); @Override void releaseActivityLog(Log activityLog); @Override LiveActivityRunner getLiveActivityRunnerByUuid(String uuid); @Override boolean hasLiveActivitiesRunning(); @Override boolean isLiveActivityRunning(String uuid); Collection<LiveActivityRunner> getAllActiveActivities(); @Override void setLiveActivityStatusPublisher(LiveActivityStatusPublisher liveActivityStatusPublisher); @Override LiveActivityRunnerFactory getLiveActivityRunnerFactory(); @Override LiveActivityStorageManager getLiveActivityStorageManager();  }