summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/modules
diff options
context:
space:
mode:
Diffstat (limited to 'sca-java-2.x/trunk/modules')
-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;
}