diff options
Diffstat (limited to '')
-rw-r--r-- | sandbox/travelsample/chapter-01/src/client/TripClient.java (renamed from sandbox/travelsample/gettingstarted/src/client/TripClient.java) | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sandbox/travelsample/gettingstarted/src/client/TripClient.java b/sandbox/travelsample/chapter-01/src/client/TripClient.java index 36616569a4..6cb33b9577 100644 --- a/sandbox/travelsample/gettingstarted/src/client/TripClient.java +++ b/sandbox/travelsample/chapter-01/src/client/TripClient.java @@ -19,8 +19,9 @@ package client; import org.apache.tuscany.sca.node.SCAClient; -import org.apache.tuscany.sca.node.SCANode2; -import org.apache.tuscany.sca.node.SCANode2Factory; +import org.apache.tuscany.sca.node.SCANode; +import org.apache.tuscany.sca.node.SCANodeFactory; + import trip.Trip; @@ -30,8 +31,8 @@ import trip.Trip; public class TripClient { public final static void main(String[] args) throws Exception { - SCANode2Factory factory = SCANode2Factory.newInstance(); - SCANode2 node = factory.createSCANodeFromClassLoader("trip.composite", + SCANodeFactory factory = SCANodeFactory.newInstance(); + SCANode node = factory.createSCANodeFromClassLoader("trip.composite", null); node.start(); |