Usages of

org.onosproject.net.host.HostService.removeListener(?)
@Reference(cardinality = ReferenceCardinality.MANDATORY_UNARY) protected HostService hostService; // code omitted ... @Deactivate public void deactivate() { hostService.removeListener(hostListener); // TODO can be replaced with this.clearAcl() flowRuleService.removeFlowRulesById(appId); aclStore.clearAcl(); log.info("Stopped"); }
@Reference(cardinality = ReferenceCardinality.MANDATORY_UNARY) protected HostService hostService; // code omitted ... @Deactivate protected void deactivate() { listeners.values().forEach(l -> l.stop()); routeStore.unsetDelegate(delegate); hostService.removeListener(hostListener); netcfgRegistry.removeListener(netcfgListener); netcfgRegistry.unregisterConfigFactory(routeConfigFactory); }
@Reference(cardinality = ReferenceCardinality.MANDATORY_UNARY) protected HostService hostService; // code omitted ... @Deactivate public void deactivate() { topologyService.removeListener(listener); resourceManager.removeListener(linkResourceListener); deviceService.removeListener(deviceListener); hostService.removeListener(hostListener); log.info("Stopped"); }
@Reference(cardinality = ReferenceCardinality.MANDATORY_UNARY) protected HostService hostService; // code omitted ... @Deactivate protected void deactivate() { deviceService.removeListener(deviceListener); hostService.removeListener(hostListener); eventExecutor.shutdown(); nodeStore.clear(); log.info("Stopped"); }
@Reference(cardinality = ReferenceCardinality.MANDATORY_UNARY) protected HostService hostService; // code omitted ... @Deactivate public void deactivate() { hostService.removeListener(hostListener); interfaceService.removeListener(interfaceListener); configService.removeListener(configListener); intentSynchronizer.removeIntentsByAppId(appId); log.info("Deactivated"); }
@Reference(cardinality = ReferenceCardinality.MANDATORY_UNARY) protected HostService hostService; // code omitted ... @Deactivate public void deactivate() { topologyService.removeListener(listener); resourceService.removeListener(resourceListener); hostService.removeListener(hostListener); partitionService.removeListener(partitionListener); log.info("Stopped"); }
@Reference(cardinality = ReferenceCardinality.MANDATORY_UNARY) protected HostService hostService; // code omitted ... @Deactivate protected void deactivate() { hostService.removeListener(hostListener); flowRuleService.removeFlowRulesById(appId); log.info("org.iacl Stopped"); aclToFlow.clear(); ruleMap.clear(); }
@Reference(cardinality = ReferenceCardinality.MANDATORY_UNARY) protected HostService hostService; // code omitted ... @Deactivate public void deactivate() { deviceService.removeListener(deviceListener); hostService.removeListener(hostListener); virtualMachineService.removeListener(virtualMachineListener); eventExecutor.shutdown(); log.info("Stopped"); }
@Reference(cardinality = ReferenceCardinality.MANDATORY_UNARY) protected HostService hostService; // code omitted ... @Deactivate public void deactivate() { // TODO we never actually add any flow rules flowRuleService.removeFlowRulesById(appId); hostService.removeListener(hostListener); eventHandler.shutdown(); log.info("Stopped"); }
@Reference(cardinality = ReferenceCardinality.MANDATORY_UNARY) protected HostService hostService; // code omitted ... @Deactivate public void deactivate() { hostService.removeListener(hostListener); vpnPortService.removeListener(vpnPortListner); vpnAfConfigService.removeListener(vpnAfConfigListener); configService.removeListener(configListener); log.info(EVPN_OPENFLOW_STOP); }
Usage snippet has been bookmarked! Review your bookmarks
Thank you! Review your likes