summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2011-03-21 08:36:29 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2011-03-21 08:36:29 +0000
commit72832513368265dbd6c4dd6fe64e5328724f0a16 (patch)
treefc000de7bb3ee6239bb3c6dff4f1e15831969d3a /sca-java-2.x
parentd021672231ce057f18ca59db8061bc27e6adcbfe (diff)
Fix to correctly save the node so that its stopped properly when the webapp is stopped
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1083700 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--sca-java-2.x/trunk/modules/host-webapp/src/main/java/org/apache/tuscany/sca/host/webapp/WebAppHelper.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sca-java-2.x/trunk/modules/host-webapp/src/main/java/org/apache/tuscany/sca/host/webapp/WebAppHelper.java b/sca-java-2.x/trunk/modules/host-webapp/src/main/java/org/apache/tuscany/sca/host/webapp/WebAppHelper.java
index 5c4cfe8bfe..2001067e16 100644
--- a/sca-java-2.x/trunk/modules/host-webapp/src/main/java/org/apache/tuscany/sca/host/webapp/WebAppHelper.java
+++ b/sca-java-2.x/trunk/modules/host-webapp/src/main/java/org/apache/tuscany/sca/host/webapp/WebAppHelper.java
@@ -190,7 +190,7 @@ public class WebAppHelper {
}
Node node = null;
if (configuration != null) {
- factory.createNode(configuration).start();
+ node = factory.createNode(configuration).start();
}
return node;
}