@Test public void testSoftRestartNoXMLDoc() throws Exception { URI deploymentURI = AllTests.getAbsoluteFixturePath().resolve("deployment/doesntexist"); Deployer d = createDeployer(deploymentURI); try { d.softRestart(); Assert.fail("Expected an exception here.."); } catch (ControllerDefinitionNotFoundException e) { } }
public void softRestart() throws ControllerDefinitionNotFoundException { try { pause(); softShutdown(); startup(); } finally { resume(); } }
Deployer { public void softRestart() throws ControllerDefinitionNotFoundException { try { pause(); softShutdown(); startup(); } finally { resume(); } } }
Deployer { public void softRestart() throws ControllerDefinitionNotFoundException { try { pause(); softShutdown(); startup(); } finally { resume(); } } Deployer(String serviceName, StatusCache deviceStateCache,
                  ControllerConfiguration controllerConfig,
                  Map<String, ModelBuilder> builders); }
Deployer { public void softRestart() throws ControllerDefinitionNotFoundException { try { pause(); softShutdown(); startup(); } finally { resume(); } } Deployer(String serviceName, StatusCache deviceStateCache,
                  ControllerConfiguration controllerConfig,
                  Map<String, ModelBuilder> builders); synchronized void startController(); boolean isPaused(); void softRestart(); void deployFromZip(InputStream inputStream); void deployFromOnline(String username, String credentials); Element queryElementById(int id); Map<String, String> getConfigurationProperties(); Sensor getSensorFromComponentInclude(Element componentIncludeElement); void announceDiscoveredDevices(List<DiscoveredDeviceDTO> list); String getLinkedAccountId(); void unlinkController(); }
Deployer { public void softRestart() throws ControllerDefinitionNotFoundException { try { pause(); softShutdown(); startup(); } finally { resume(); } } Deployer(String serviceName, StatusCache deviceStateCache,
                  ControllerConfiguration controllerConfig,
                  Map<String, ModelBuilder> builders); synchronized void startController(); boolean isPaused(); void softRestart(); void deployFromZip(InputStream inputStream); void deployFromOnline(String username, String credentials); Element queryElementById(int id); Map<String, String> getConfigurationProperties(); Sensor getSensorFromComponentInclude(Element componentIncludeElement); void announceDiscoveredDevices(List<DiscoveredDeviceDTO> list); String getLinkedAccountId(); void unlinkController();  }