super.startMCServices(mcAdapter); this.initPlatformServices(comServices); directoryService.init(comServices); } catch (MALException ex) { MCRegistration registration = new MCRegistration(comServices, mcServices.getParameterService(), mcServices.getAggregationService(), mcServices.getAlertService(), mcServices.getActionService()); mcAdapter.initialRegistrations(registration);
this.comServices.initArchiveSync(); super.reconfigurableServices.add(this.applicationsManagerService); this.startMCServices(mcAdapter); this.initPlatformServices(comServices); } catch (MALException ex) { Logger.getLogger(NanoSatMOSupervisor.class.getName()).log(Level.SEVERE, MCRegistration registration = new MCRegistration(comServices, mcServices.getParameterService(), mcServices.getAggregationService(), mcServices.getAlertService(), mcServices.getActionService()); mcAdapter.initialRegistrations(registration); this.writeCentralDirectoryServiceURI(primaryURI, secondaryURI); Logger.getLogger(NanoSatMOSupervisor.class.getName()).log(Level.INFO, "NanoSat MO Supervisor initialized in "
Long eventId = this.getCOMServices().getEventService().generateAndStoreEvent( AppsLauncherHelper.STOPPING_OBJECT_TYPE, ConfigurationProviderSingleton.getDomain(), null); final URI uri = this.getCOMServices().getEventService().getConnectionProvider().getConnectionDetails().getProviderURI(); this.getCOMServices().getEventService().publishEvent(uri, eventId, AppsLauncherHelper.STOPPING_OBJECT_TYPE, null, source, null); } catch (IOException ex) { Logger.getLogger(NanoSatMOMonolithic.class.getName()).log(Level.INFO, "Triggering the closeAppAdapter of the app business logic..."); this.closeAppAdapter.onClose(); // Time to sleep, boy! Long eventId2 = this.getCOMServices().getEventService().generateAndStoreEvent( AppsLauncherHelper.STOPPED_OBJECT_TYPE, ConfigurationProviderSingleton.getDomain(), this.getCOMServices().getEventService().publishEvent(uri, eventId2, AppsLauncherHelper.STOPPED_OBJECT_TYPE, null, source, null); } catch (IOException ex) { this.getCOMServices().closeAll();
URI centralDirectoryURI = this.readCentralDirectoryServiceURI(); serviceCOMEvent.addEventReceivedListener(subscription, new CloseAppEventListener(this)); final ProviderSummary filteredConnections = NanoSatMOConnectorImpl.selectBestIPCTransport(supervisorConnections.get(0)); final ConnectionConsumer supervisorCCPlat = HelperCommon.providerSummaryToConnectionConsumer(filteredConnections); this.startMCServices(mcAdapter); directoryService.init(comServices); heartbeatService.init(); this.initAdditionalServices(); MCRegistration registration = new MCRegistration(comServices, mcServices.getParameterService(), mcServices.getAggregationService(), mcServices.getAlertService(), mcServices.getActionService()); mcAdapter.initialRegistrations(registration);
Long eventId = this.getCOMServices().getEventService().generateAndStoreEvent( AppsLauncherHelper.STOPPING_OBJECT_TYPE, ConfigurationProviderSingleton.getDomain(), final URI uri = this.getCOMServices().getEventService().getConnectionProvider().getIPCConnectionDetails().getProviderURI(); this.getCOMServices().getEventService().publishEvent(uri, eventId, AppsLauncherHelper.STOPPING_OBJECT_TYPE, null, source, null); } catch (IOException ex) { Logger.getLogger(NanoSatMOConnectorImpl.class.getName()).log(Level.INFO, "Triggering the closeAppAdapter of the app business logic..."); this.closeAppAdapter.onClose(); // Time to sleep, boy! final URI centralDirectoryURI = this.readCentralDirectoryServiceURI(); directoryServiceConsumer.getDirectoryStub().withdrawProvider(this.getAppDirectoryId()); directoryServiceConsumer.closeConnection(); } catch (MALException ex) { Long eventId2 = this.getCOMServices().getEventService().generateAndStoreEvent( AppsLauncherHelper.STOPPED_OBJECT_TYPE, ConfigurationProviderSingleton.getDomain(), this.getCOMServices().getEventService().publishEvent(uri, eventId2, AppsLauncherHelper.STOPPED_OBJECT_TYPE, null, source, null); } catch (IOException ex) { this.getCOMServices().closeAll();
Long eventId = this.getCOMServices().getEventService().generateAndStoreEvent( AppsLauncherHelper.STOPPING_OBJECT_TYPE, ConfigurationProviderSingleton.getDomain(), null); final URI uri = this.getCOMServices().getEventService().getConnectionProvider().getConnectionDetails().getProviderURI(); this.getCOMServices().getEventService().publishEvent(uri, eventId, AppsLauncherHelper.STOPPING_OBJECT_TYPE, null, source, null); } catch (IOException ex) { Logger.getLogger(NanoSatMOSupervisor.class.getName()).log(Level.INFO, "Triggering the closeAppAdapter of the app business logic..."); this.closeAppAdapter.onClose(); // Time to sleep, boy! Long eventId2 = this.getCOMServices().getEventService().generateAndStoreEvent( AppsLauncherHelper.STOPPED_OBJECT_TYPE, ConfigurationProviderSingleton.getDomain(), this.getCOMServices().getEventService().publishEvent(uri, eventId2, AppsLauncherHelper.STOPPED_OBJECT_TYPE, null, source, null); } catch (IOException ex) { this.getCOMServices().closeAll();