From efe3363a815a777ecd283928900404dea84a7e1f Mon Sep 17 00:00:00 2001 From: jsdelfino Date: Thu, 9 Oct 2008 06:33:54 +0000 Subject: Work in progress. Fixed implementation of NodeImpl, now working without dependencies on implementations from other bundles (except RuntimeAssemblyFactory, which will need to be cleaned up too). Started to remove dependencies on host-embedded and port code to NodeFactory and Node, as an interim step to bring them up, before porting them to the OSGi-enabled node launcher. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@703068 13f79535-47bb-0310-9956-ffa450edef68 --- .../store/store-client/launch/LaunchStoreClientNode.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'branches/sca-equinox/tutorials/store/store-client/launch') diff --git a/branches/sca-equinox/tutorials/store/store-client/launch/LaunchStoreClientNode.java b/branches/sca-equinox/tutorials/store/store-client/launch/LaunchStoreClientNode.java index d1a9dfb36c..5cb8ae90f9 100644 --- a/branches/sca-equinox/tutorials/store/store-client/launch/LaunchStoreClientNode.java +++ b/branches/sca-equinox/tutorials/store/store-client/launch/LaunchStoreClientNode.java @@ -19,8 +19,8 @@ package launch; -import org.apache.tuscany.sca.node.SCAClient; -import org.apache.tuscany.sca.node.SCANode; +import org.apache.tuscany.sca.node.Client; +import org.apache.tuscany.sca.node.Node; import org.apache.tuscany.sca.node.launcher.NodeLauncher; import client.Shopper; @@ -29,9 +29,9 @@ public class LaunchStoreClientNode { public static void main(String[] args) throws Exception { NodeLauncher nodeLauncher = NodeLauncher.newInstance(); - SCANode storeClientNode = nodeLauncher.createNodeFromURL("http://localhost:9990/node-config/StoreClientNode"); + Node storeClientNode = nodeLauncher.createNodeFromURL("http://localhost:9990/node-config/StoreClientNode"); storeClientNode.start(); - SCAClient client = (SCAClient)storeClientNode; + Client client = (Client)storeClientNode; Shopper shopper = client.getService(Shopper.class, "StoreClient"); -- cgit v1.2.3