@Deactivate public void deactivate() { topologyService.removeListener(listener); resourceManager.removeListener(linkResourceListener); deviceService.removeListener(deviceListener); hostService.removeListener(hostListener); partitionService.removeListener(partitionListener); log.info("Stopped"); }