@Test(expected = Exception.class) public void testDeactivate() throws Exception { ospfController.activate(); ospfController.deactivate(); assertThat(ospfController, is(notNullValue())); }
@Deactivate public void deactivate() { ctrl.stop(); log.info("Stopped"); }
OspfControllerImpl implements OspfController { @Deactivate public void deactivate() { ctrl.stop(); log.info("Stopped"); } }
OspfControllerImpl implements OspfController { @Deactivate public void deactivate() { ctrl.stop(); log.info("Stopped"); }  }
OspfControllerImpl implements OspfController { @Deactivate public void deactivate() { ctrl.stop(); log.info("Stopped"); }  @Activate void activate(); @Deactivate void deactivate(); @Override void addRouterListener(OspfRouterListener listener); @Override void removeRouterListener(OspfRouterListener listener); @Override void addLinkListener(OspfLinkListener listener); @Override void removeLinkListener(OspfLinkListener listener); @Override Set<OspfRouterListener> listener(); @Override Set<OspfLinkListener> linkListener(); @Override List<OspfProcess> getAllConfiguredProcesses(); @Override void updateConfig(JsonNode processesNode); @Override void deleteConfig(List<OspfProcess> processes, String attribute); }
OspfControllerImpl implements OspfController { @Deactivate public void deactivate() { ctrl.stop(); log.info("Stopped"); }  @Activate void activate(); @Deactivate void deactivate(); @Override void addRouterListener(OspfRouterListener listener); @Override void removeRouterListener(OspfRouterListener listener); @Override void addLinkListener(OspfLinkListener listener); @Override void removeLinkListener(OspfLinkListener listener); @Override Set<OspfRouterListener> listener(); @Override Set<OspfLinkListener> linkListener(); @Override List<OspfProcess> getAllConfiguredProcesses(); @Override void updateConfig(JsonNode processesNode); @Override void deleteConfig(List<OspfProcess> processes, String attribute);  }