diff options
author | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2011-09-20 20:55:31 +0000 |
---|---|---|
committer | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2011-09-20 20:55:31 +0000 |
commit | a92930a64d956ecdbd1dce35789749c5e97e2e46 (patch) | |
tree | 795005600539b53f7485c0986a1f94a5a1dce815 /sca-java-2.x/trunk/modules | |
parent | 7b4142b6f4e050a140a1bdd3626791e46b012e62 (diff) |
Move the addNode to load() so that the import/export can be resolved
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1173362 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r-- | sca-java-2.x/trunk/modules/node-impl/src/main/java/org/apache/tuscany/sca/node/impl/NodeImpl.java | 3 |
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); |