public boolean bye() { for (Node node : nodes.values()) { node.stop(); } runtime.stop(); for (Node node : standaloneNodes.values()) { node.stop(); } return false; }
public boolean bye() { for (Node node : nodes.values()) { node.stop(); } runtime.stop(); for (Node node : standaloneNodes.values()) { node.stop(); } return false; }
public void stop() { for (DeployedComposite dc : startedComposites.values()) { try { dc.stop(); } catch (ActivationException e) { } } startedComposites.clear(); stoppedComposites.clear(); extensionPointRegistry.getExtensionPoint(UtilityExtensionPoint.class).getUtility(ActiveNodes.class).getActiveNodes().remove(this); domainRegistry.removeContributionListener(contributionListener); if (tuscanyRuntime != null) { tuscanyRuntime.stop(); } }
public void stop() { for (DeployedComposite dc : startedComposites.values()) { try { dc.stop(); } catch (ActivationException e) { } } startedComposites.clear(); stoppedComposites.clear(); extensionPointRegistry.getExtensionPoint(UtilityExtensionPoint.class).getUtility(ActiveNodes.class).getActiveNodes().remove(this); domainRegistry.removeContributionListener(contributionListener); if (tuscanyRuntime != null) { tuscanyRuntime.stop(); } }