You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by js...@apache.org on 2008/07/14 19:22:06 UTC

svn commit: r676654 - in /tuscany/java/sca: modules/node2-launcher/src/main/java/org/apache/tuscany/sca/node/launcher/NodeLauncher.java tutorial/store-test/pom.xml tutorial/store-test/test/StoreSupplierTestCase.java

Author: jsdelfino
Date: Mon Jul 14 10:22:05 2008
New Revision: 676654

URL: http://svn.apache.org/viewvc?rev=676654&view=rev
Log:
Fixed method name on NodeLauncher. Changed test case to use the correct NodeLauncher method.

Modified:
    tuscany/java/sca/modules/node2-launcher/src/main/java/org/apache/tuscany/sca/node/launcher/NodeLauncher.java
    tuscany/java/sca/tutorial/store-test/pom.xml
    tuscany/java/sca/tutorial/store-test/test/StoreSupplierTestCase.java

Modified: tuscany/java/sca/modules/node2-launcher/src/main/java/org/apache/tuscany/sca/node/launcher/NodeLauncher.java
URL: http://svn.apache.org/viewvc/tuscany/java/sca/modules/node2-launcher/src/main/java/org/apache/tuscany/sca/node/launcher/NodeLauncher.java?rev=676654&r1=676653&r2=676654&view=diff
==============================================================================
--- tuscany/java/sca/modules/node2-launcher/src/main/java/org/apache/tuscany/sca/node/launcher/NodeLauncher.java (original)
+++ tuscany/java/sca/modules/node2-launcher/src/main/java/org/apache/tuscany/sca/node/launcher/NodeLauncher.java Mon Jul 14 10:22:05 2008
@@ -104,7 +104,7 @@
      * then thread context classloader will be used
      * @return A newly created SCA node
      */
-    public <T> T createSCANodeFromClassLoader(String compositeURI, ClassLoader classLoader) throws LauncherException {
+    public <T> T createNodeFromClassLoader(String compositeURI, ClassLoader classLoader) throws LauncherException {
         return (T)node(null, compositeURI, null, null, classLoader);
     }
     

Modified: tuscany/java/sca/tutorial/store-test/pom.xml
URL: http://svn.apache.org/viewvc/tuscany/java/sca/tutorial/store-test/pom.xml?rev=676654&r1=676653&r2=676654&view=diff
==============================================================================
--- tuscany/java/sca/tutorial/store-test/pom.xml (original)
+++ tuscany/java/sca/tutorial/store-test/pom.xml Mon Jul 14 10:22:05 2008
@@ -174,7 +174,6 @@
           <resource>
               <directory>${basedir}</directory>
               <excludes>
-                  <exclude>**/*.java</exclude>
                   <exclude>**/.*/**</exclude>
                   <exclude>pom.xml</exclude>
                   <exclude>build.xml</exclude>

Modified: tuscany/java/sca/tutorial/store-test/test/StoreSupplierTestCase.java
URL: http://svn.apache.org/viewvc/tuscany/java/sca/tutorial/store-test/test/StoreSupplierTestCase.java?rev=676654&r1=676653&r2=676654&view=diff
==============================================================================
--- tuscany/java/sca/tutorial/store-test/test/StoreSupplierTestCase.java (original)
+++ tuscany/java/sca/tutorial/store-test/test/StoreSupplierTestCase.java Mon Jul 14 10:22:05 2008
@@ -55,13 +55,13 @@
         domainManager.start();
         
         NodeLauncher nodeLauncher = NodeLauncher.newInstance();
-        storeSupplierNode = nodeLauncher.createNode("http://localhost:9990/node-config/StoreSupplierNode");
+        storeSupplierNode = nodeLauncher.createNodeFromURL("http://localhost:9990/node-config/StoreSupplierNode");
         storeSupplierNode.start();
         
-        storeCatalogsNode = nodeLauncher.createNode("http://localhost:9990/node-config/CatalogsNode");
+        storeCatalogsNode = nodeLauncher.createNodeFromURL("http://localhost:9990/node-config/CatalogsNode");
         storeCatalogsNode.start();
         
-        storeClientNode = nodeLauncher.createNode("http://localhost:9990/node-config/StoreClientNode");
+        storeClientNode = nodeLauncher.createNodeFromURL("http://localhost:9990/node-config/StoreClientNode");
         storeClientNode.start();
         
     }