From 4deb19189aad28e275688bc64dff6987613bd6b4 Mon Sep 17 00:00:00 2001 From: jsdelfino Date: Mon, 14 Jul 2008 17:22:05 +0000 Subject: Fixed method name on NodeLauncher. Changed test case to use the correct NodeLauncher method. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@676654 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/tuscany/sca/node/launcher/NodeLauncher.java | 2 +- java/sca/tutorial/store-test/pom.xml | 1 - java/sca/tutorial/store-test/test/StoreSupplierTestCase.java | 6 +++--- 3 files changed, 4 insertions(+), 5 deletions(-) (limited to 'java/sca') diff --git a/java/sca/modules/node2-launcher/src/main/java/org/apache/tuscany/sca/node/launcher/NodeLauncher.java b/java/sca/modules/node2-launcher/src/main/java/org/apache/tuscany/sca/node/launcher/NodeLauncher.java index 60c50c6919..1c19ac0c08 100644 --- a/java/sca/modules/node2-launcher/src/main/java/org/apache/tuscany/sca/node/launcher/NodeLauncher.java +++ b/java/sca/modules/node2-launcher/src/main/java/org/apache/tuscany/sca/node/launcher/NodeLauncher.java @@ -104,7 +104,7 @@ public class NodeLauncher { * then thread context classloader will be used * @return A newly created SCA node */ - public T createSCANodeFromClassLoader(String compositeURI, ClassLoader classLoader) throws LauncherException { + public T createNodeFromClassLoader(String compositeURI, ClassLoader classLoader) throws LauncherException { return (T)node(null, compositeURI, null, null, classLoader); } diff --git a/java/sca/tutorial/store-test/pom.xml b/java/sca/tutorial/store-test/pom.xml index ddb1429a83..682fe5c978 100644 --- a/java/sca/tutorial/store-test/pom.xml +++ b/java/sca/tutorial/store-test/pom.xml @@ -174,7 +174,6 @@ ${basedir} - **/*.java **/.*/** pom.xml build.xml diff --git a/java/sca/tutorial/store-test/test/StoreSupplierTestCase.java b/java/sca/tutorial/store-test/test/StoreSupplierTestCase.java index a7cb97ccc2..26d3d49b78 100644 --- a/java/sca/tutorial/store-test/test/StoreSupplierTestCase.java +++ b/java/sca/tutorial/store-test/test/StoreSupplierTestCase.java @@ -55,13 +55,13 @@ public class StoreSupplierTestCase { 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(); } -- cgit v1.2.3