diff options
author | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2008-07-14 17:22:05 +0000 |
---|---|---|
committer | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2008-07-14 17:22:05 +0000 |
commit | 4deb19189aad28e275688bc64dff6987613bd6b4 (patch) | |
tree | fd7c055640abe9c5822d15e464c4d83c276fa292 /java/sca | |
parent | 6d371a5668a6beb37ee261f65f808974403791c1 (diff) |
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
Diffstat (limited to 'java/sca')
3 files changed, 4 insertions, 5 deletions
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> 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); } 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 @@ <resource> <directory>${basedir}</directory> <excludes> - <exclude>**/*.java</exclude> <exclude>**/.*/**</exclude> <exclude>pom.xml</exclude> <exclude>build.xml</exclude> 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(); } |