tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rf...@apache.org
Subject svn commit: r1173362 - /tuscany/sca-java-2.x/trunk/modules/node-impl/src/main/java/org/apache/tuscany/sca/node/impl/NodeImpl.java
Date Tue, 20 Sep 2011 20:55:32 GMT
Author: rfeng
Date: Tue Sep 20 20:55:31 2011
New Revision: 1173362

URL: http://svn.apache.org/viewvc?rev=1173362&view=rev
Log:
Move the addNode to load() so that the import/export can be resolved

Modified:
    tuscany/sca-java-2.x/trunk/modules/node-impl/src/main/java/org/apache/tuscany/sca/node/impl/NodeImpl.java

Modified: tuscany/sca-java-2.x/trunk/modules/node-impl/src/main/java/org/apache/tuscany/sca/node/impl/NodeImpl.java
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/modules/node-impl/src/main/java/org/apache/tuscany/sca/node/impl/NodeImpl.java?rev=1173362&r1=1173361&r2=1173362&view=diff
==============================================================================
--- tuscany/sca-java-2.x/trunk/modules/node-impl/src/main/java/org/apache/tuscany/sca/node/impl/NodeImpl.java
(original)
+++ tuscany/sca-java-2.x/trunk/modules/node-impl/src/main/java/org/apache/tuscany/sca/node/impl/NodeImpl.java
Tue Sep 20 20:55:31 2011
@@ -117,7 +117,6 @@ public class NodeImpl implements Node, N
         try {
             load();
 
-            nodeFactory.addNode(configuration, this);
             this.proxyFactory = nodeFactory.proxyFactory;
 
             // Set up the node context
@@ -178,6 +177,8 @@ public class NodeImpl implements Node, N
 
     public void load() throws Throwable {
         nodeFactory.init();
+        
+        nodeFactory.addNode(configuration, this);
 
         Monitor monitor = nodeFactory.monitorFactory.createMonitor();
         ProcessorContext context = new ProcessorContext(monitor);



Mime
View raw message