diff options
Diffstat (limited to '')
-rw-r--r-- | sandbox/travelsample/chapter-01/src/client/CurrencyConverterClient.java (renamed from sandbox/travelsample/gettingstarted/src/client/CurrencyConverterClient.java) | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/sandbox/travelsample/gettingstarted/src/client/CurrencyConverterClient.java b/sandbox/travelsample/chapter-01/src/client/CurrencyConverterClient.java index 2eaf621599..df6cdc10e1 100644 --- a/sandbox/travelsample/gettingstarted/src/client/CurrencyConverterClient.java +++ b/sandbox/travelsample/chapter-01/src/client/CurrencyConverterClient.java @@ -19,10 +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; import currencyconverter.CurrencyConverter; /** @@ -31,9 +30,9 @@ import currencyconverter.CurrencyConverter; public class CurrencyConverterClient { public final static void main(String[] args) throws Exception { - SCANode2Factory factory = SCANode2Factory.newInstance(); - SCANode2 node = factory.createSCANodeFromClassLoader("currencyconverter.composite", - null); + SCANodeFactory factory = SCANodeFactory.newInstance(); + SCANode node = factory.createSCANodeFromClassLoader("currencyconverter.composite", + null); node.start(); CurrencyConverter currencyConverter = |