From 24b76e5ca7d5a977c6bc680c475d2e5ae10ba1e8 Mon Sep 17 00:00:00 2001 From: antelder Date: Thu, 23 Jun 2011 10:19:12 +0000 Subject: Add some comment reminder about hot updates of a node.xml defined Node might work like git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1138812 13f79535-47bb-0310-9956-ffa450edef68 --- .../main/java/org/apache/tuscany/sca/TuscanyRuntime.java | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'sca-java-2.x/trunk/modules/domain-node/src/main/java') diff --git a/sca-java-2.x/trunk/modules/domain-node/src/main/java/org/apache/tuscany/sca/TuscanyRuntime.java b/sca-java-2.x/trunk/modules/domain-node/src/main/java/org/apache/tuscany/sca/TuscanyRuntime.java index ad466c19bd..4518d79b94 100644 --- a/sca-java-2.x/trunk/modules/domain-node/src/main/java/org/apache/tuscany/sca/TuscanyRuntime.java +++ b/sca-java-2.x/trunk/modules/domain-node/src/main/java/org/apache/tuscany/sca/TuscanyRuntime.java @@ -243,6 +243,22 @@ public class TuscanyRuntime { return node; } + /* Node.xml hot update + * - domain URi changed + * - restart entire node + * - List of contributions (matched on uri) + * - uninstall removed + * - install added + * - for each existing + * - if url or metadata or duris changed - update + * - if startdeployables changed + * - if now false then stop all started + * - if now true then start deployables + * + * + * + */ + /** * Creates a Node from an XML configuration file * @param configURL the URL to the XML configuration file -- cgit v1.2.3