summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/modules/node-api/src
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2010-05-18 09:16:43 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2010-05-18 09:16:43 +0000
commit70c55de853fcec1aadf6377053dd2dac9eb6e4b2 (patch)
tree741432bc0cc71e11f638fdb590944e0a47522b99 /sca-java-2.x/trunk/modules/node-api/src
parent4fbf78cfa57eba15dbde2449bf5e5d95cb1467d3 (diff)
Add missing adds to static factories
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@945551 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules/node-api/src')
-rw-r--r--sca-java-2.x/trunk/modules/node-api/src/main/java/org/apache/tuscany/sca/node/NodeFactory.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/sca-java-2.x/trunk/modules/node-api/src/main/java/org/apache/tuscany/sca/node/NodeFactory.java b/sca-java-2.x/trunk/modules/node-api/src/main/java/org/apache/tuscany/sca/node/NodeFactory.java
index 095208140c..3fc8098be2 100644
--- a/sca-java-2.x/trunk/modules/node-api/src/main/java/org/apache/tuscany/sca/node/NodeFactory.java
+++ b/sca-java-2.x/trunk/modules/node-api/src/main/java/org/apache/tuscany/sca/node/NodeFactory.java
@@ -195,6 +195,7 @@ public abstract class NodeFactory extends DefaultNodeConfigurationFactory {
} catch (Exception e) {
throw new ServiceRuntimeException(e);
}
+ factories.add(nodeFactory);
return nodeFactory;
}
@@ -216,6 +217,7 @@ public abstract class NodeFactory extends DefaultNodeConfigurationFactory {
} catch (Exception e) {
throw new ServiceRuntimeException(e);
}
+ factories.add(nodeFactory);
return nodeFactory;
}