summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--sca-java-2.x/trunk/modules/node-impl/src/main/java/org/apache/tuscany/sca/node/impl/NodeImpl.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/sca-java-2.x/trunk/modules/node-impl/src/main/java/org/apache/tuscany/sca/node/impl/NodeImpl.java b/sca-java-2.x/trunk/modules/node-impl/src/main/java/org/apache/tuscany/sca/node/impl/NodeImpl.java
index eaffdac602..22562a5b97 100644
--- a/sca-java-2.x/trunk/modules/node-impl/src/main/java/org/apache/tuscany/sca/node/impl/NodeImpl.java
+++ b/sca-java-2.x/trunk/modules/node-impl/src/main/java/org/apache/tuscany/sca/node/impl/NodeImpl.java
@@ -117,7 +117,6 @@ public class NodeImpl implements Node, NodeExtension {
try {
load();
- nodeFactory.addNode(configuration, this);
this.proxyFactory = nodeFactory.proxyFactory;
// Set up the node context
@@ -178,6 +177,8 @@ public class NodeImpl implements Node, NodeExtension {
public void load() throws Throwable {
nodeFactory.init();
+
+ nodeFactory.addNode(configuration, this);
Monitor monitor = nodeFactory.monitorFactory.createMonitor();
ProcessorContext context = new ProcessorContext(monitor);