/** * Shuts down. */ public void shutdown() { deviceService.removeListener(listener); devices.clear(); }
@Deactivate public void deactivate() { deviceService.removeListener(deviceListener); log.info("Stopped"); }
void terminate() { deviceService.removeListener(deviceListener); deviceService = null; groupProviderService = null; mastershipService = null; poller.cancel(true); executor.shutdown(); }
void terminate() { deviceService.removeListener(deviceListener); deviceService = null; providerService = null; mastershipService = null; poller.cancel(true); executor.shutdown(); }
@Deactivate public void deactivate() { store.unsetDelegate(delegate); deviceService.removeListener(deviceListener); eventHandlingExecutor.shutdown(); log.info("Stopped"); }
@Deactivate public void deactivate() { deviceService.removeListener(deviceListener); cfgRegistry.removeListener(cfgListener); executor.shutdownNow(); factories.forEach(cfgRegistry::unregisterConfigFactory); log.info("Stopped"); } }
@Deactivate protected void deactivate() { flowObjectiveStore.unsetDelegate(delegate); mastershipService.removeListener(mastershipListener); deviceService.removeListener(deviceListener); executorService.shutdown(); pipeliners.clear(); driverHandlers.clear(); deviceCompositionTreeMap.clear(); log.info("Stopped"); }
@Deactivate public void deactivate() { eventDispatcher.removeSink(PiPipeconfWatchdogEvent.class); deviceService.removeListener(deviceListener); stopProbeTask(); timer = null; statusMap = null; localStatusMap = null; log.info("Stopped"); }
@Deactivate protected void deactivate() { cfgService.unregisterProperties(getClass(), false); flowObjectiveStore.unsetDelegate(delegate); deviceService.removeListener(deviceListener); driverService.removeListener(driverListener); executorService.shutdown(); pipeliners.clear(); driverHandlers.clear(); nextToDevice.clear(); log.info("Stopped"); }
@Deactivate public void deactivate() { providerRegistry.unregister(this); mastershipService.removeListener(mastershipListener); deviceService.removeListener(deviceListener); alarmsExecutor.shutdown(); providerService = null; log.info("Stopped"); }
@Deactivate public void deactivate() { deviceService.removeListener(deviceListener); linkService.removeListener(linkListener); eventDispatcher.removeSink(EdgePortEvent.class); log.info("Stopped"); }
@Deactivate public synchronized void deactivate(ComponentContext context) { cfgService.unregisterProperties(DefaultTopologyProvider.class, false); isStarted = false; deviceService.removeListener(deviceListener); linkService.removeListener(linkListener); providerRegistry.unregister(this); providerService = null; executor.shutdownNow(); executor = null; log.info("Stopped"); }
@Deactivate public void deactivate() { driverProvider.terminate(); deviceService.removeListener(deviceListener); cfgService.unregisterProperties(getClass(), false); deviceInstallers.shutdownNow(); operationsService.shutdownNow(); store.unsetDelegate(delegate); eventDispatcher.removeSink(FlowRuleEvent.class); log.info("Stopped"); }
@Deactivate protected void deactivate() { packetService.removeProcessor(internalPacketProcessor); deviceService.removeListener(internalDeviceListener); deviceEventExecutorService.shutdown(); configEventExecutorService.shutdown(); hostService.removeListener(internalHostListener); configService.removeListener(configListener); configRegistry.unregisterConfigFactory(configFactory); log.info("Stopped"); }
@Deactivate public void deactivate() { store.unsetDelegate(delegate); eventDispatcher.removeSink(LinkEvent.class); deviceService.removeListener(deviceListener); networkConfigService.removeListener(networkConfigListener); log.info("Stopped"); }
@Deactivate public void deactivate() { eventExecutor.shutdown(); defaultProvider.terminate(); deviceService.removeListener(deviceListener); cfgService.unregisterProperties(getClass(), false); store.unsetDelegate(delegate); eventDispatcher.removeSink(GroupEvent.class); log.info("Stopped"); }
@Deactivate protected void deactivate() { routeService.removeListener(routeListener); deviceService.removeListener(deviceListener); interfaceService.removeListener(internalInterfaceList); networkConfigService.removeListener(configListener); //processIntfFilters(false, configService.getInterfaces()); //TODO necessary? componentConfigService.unregisterProperties(getClass(), false); log.info("Stopped"); }
@Deactivate public void deactivate() { deviceService.removeListener(deviceListener); networkConfigService.removeListener(networkConfigListener); hostService.removeListener(hostListener); interfaceService.removeListener(interfaceListener); }
@Deactivate public void deactivate() { topologyService.removeListener(listener); resourceService.removeListener(resourceListener); deviceService.removeListener(deviceListener); hostService.removeListener(hostListener); partitionService.removeListener(partitionListener); log.info("Stopped"); }
@Deactivate protected void deactivate() { tunnelService.removeListener(listener); deviceService.removeListener(deviceListener); linkService.removeListener(linkListener); netCfgService.removeListener(cfgListener); packetService.removeProcessor(processor); topologyService.removeListener(topologyListener); // Shutdown the thread when component is deactivated executor.shutdown(); log.info("Stopped"); }